stack pointer

Nitin Varyani varyani.nitin1 at gmail.com
Mon Mar 7 02:37:14 EST 2016


struct task_struct { volatile long state; /* -1 unrunnable, 0 runnable, >0
stopped */* void *stack;* atomic_t usage; unsigned int flags; /* per
process flags, defined below */ unsigned int ptrace;


What does the field void *stack indicate here?
Is it the pointer to kernel stack of the process?

Where is the stack pointer for the current process stored in linux?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160307/a60bcd2e/attachment.html 


More information about the Kernelnewbies mailing list