mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* additional bit in task & page struct
@ 2001-12-29 12:53 Amber Palekar
  0 siblings, 0 replies; only message in thread
From: Amber Palekar @ 2001-12-29 12:53 UTC (permalink / raw)
  To: kernel list

 
 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,
  
 Amber
 


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-29 12:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-29 12:53 additional bit in task & page struct Amber Palekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®