Prior to the Linux 2.6 kernel,
struct task_struct was present at the end of the kernel stack of each process. There was no
thread_info struct concept. But in Linux 2.6 kernel, instead of
task_struct being placed at the end of the kernel stack for the process, the
thread_info struct is placed at the end. This thread_info struct contains a pointer to the
What was the need for
thread_info structure to be introduced ?. We could have accessed the
task_struct structure using the
stack pointer directly if
task_struct was placed at the end of the kernel stack of the process.
In 2.6 Kernel,
task_struct is dynamically allocated using
slab_allocator. Prior to 2.6 Kernel, was it statically allocated?