I can also know that files use tast_struct through the site lxr.linux.no. But, my doubt is that macros in assembly I must modify in the architecture i386 to be able to add an extra field tast_struct. I read something in http://www.geocrawler.com/archives/3/71/1997/3/0/89157/ (to architecture Sparc). In minix the equivalent to task_struct is the structure proc (src/kernel/proc.h). Shifts in this structure are defined in sconst.h so that routines in assembly have access it directly (as commentary of the book Operating System of Andrew Tanenbaum). Linux has something seemed? Where to get this type of information? Eduardo O Bode --- Linux Kernel <pakernel@yahoo.com> escreveu: > Eduardo, > Ps type the following command in your linux soure > directory > > find . -type f | xargs egrep -l task_struct > > It will list all the files that use task_struct > You can further filter it if you need > > --- Eduardo Rodrigues <little_bode@yahoo.com.br> > wrote: > > I am computation student and I am making some > > experiences with kernel of linux. I need add a > field > > in task_struck to keep an extra information on a > > process. I am conscientious of that task_struck is > > in > > the stack of kernel and that therefore I have an > > limited space, but the field that I want to add is > > small. > > I heard to say that macros in assebly make > > referencia > > task_struck, which is it? where to get > information? > > > > O Bode > > > > --- Linux Kernel <pakernel@yahoo.com> escreveu: > > > Eduardo, > > > Why do you want to change task_struct? Probably > it > > > is > > > the wrong approach. What exactly are you > > > accomplishing? > > > > > > --- Eduardo Rodrigues <little_bode@yahoo.com.br> > > > wrote: > > > > How to add new field to task_struct? which > > > archives > > > > I > > > > must change beyond include/linux/sched.h? > > > > > > > > Eduardo O Bode > > > > > > > > > > > > > > _______________________________________________________________________________________________ > > > > Yahoo! GeoCities > > > > Tenha seu lugar na Web. Construa hoje mesmo > sua > > > home > > > > page no Yahoo! GeoCities. É fácil e grátis! > > > > http://br.geocities.yahoo.com/ > > > > -- > > > > Kernelnewbies: Help each other learn about the > > > Linux > > > > kernel. > > > > Archive: > > > > http://mail.nl.linux.org/kernelnewbies/ > > > > IRC Channel: irc.openprojects.net / > > > #kernelnewbies > > > > Web Page: http://www.kernelnewbies.org/ > > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Send your FREE holiday greetings online! > > > http://greetings.yahoo.com > > > > > _______________________________________________________________________________________________ > > Yahoo! GeoCities > > Tenha seu lugar na Web. Construa hoje mesmo sua > home > > page no Yahoo! GeoCities. É fácil e grátis! > > http://br.geocities.yahoo.com/ > > > __________________________________________________ > Do You Yahoo!? > Send your FREE holiday greetings online! > http://greetings.yahoo.com _______________________________________________________________________________________________ Yahoo! GeoCities Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo! GeoCities. É fácil e grátis! http://br.geocities.yahoo.com/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/