There is one task_struct and thread_info for each process, and they link to each other, right? So why are they separate structs?
thread_info is embeded in kernel stack, so we can easily get the task_struct using kernel stack. Regards, Cheng -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/