Dear all, I am Linux Internals by Moshe Bar. on page 83, I come across this: "Unlike other UNIX implementations, however, please note that this process structure does not occupy space in real sense of world. How is this possible? Since the advent of Linux kernel 2.2.x, the task_struct is allocated at the bottom of the kernel stack. It is therefore possible to overlap the task_struct on the kernel stack because the kernel_stack is a per-task structure exactly as the task_struct is...bla bla bla... Basically, what the kernel does is decrease the size of the "usable" kernel stack to around 7,323 bytes, by allocating the task structure in the bottom of the stack" What does all these means? What is kernel_struct cause I can't grep it anywhere? And precisely what is the kernel stack like? Also, isn't there multiple task_struct, how can the kernel just put in the bottom of stack, won't it overflow and overwrite the kernel data? Thank you in advanced. Wei Chong. _____________________________________________________________________ Net:WxS (M) Sdn. Bhd. at http://www.netwxs.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/