From: "amey d inamdar" <iamey@rediffmail.com>
To: linux-mm@kvack.org
Subject: additional bit in task & page struct
Date: 29 Dec 2001 12:33:25 -0000 [thread overview]
Message-ID: <20011229123325.32215.qmail@mailweb9.rediffmail.com> (raw)
Hi...
I want to add my own bit (a #define PG_MYBIT) similar to into the flags in task_struct as defined in linux v2.4.4 in sched.h which is defined as:
unsigned long flag; /*per process flags */
I want a free #define where I can define the process specific flag like PG_EXITING, PG_STARTING.
Similarly, I also want to add my own bit into the flags in the _page struct_ wherein I can establish the state of a particular page.
Using this my program wants to distinguish between some privileged pages of a process (privileged for my program which serves them..) from other processes and pages.
Please tell me which #define can I use to do this in both the structures.
Thanking you in advance,
Amey.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
reply other threads:[~2001-12-29 12:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011229123325.32215.qmail@mailweb9.rediffmail.com \
--to=iamey@rediffmail.com \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox