task_struct has tow fields , pidhash_next and pidhash_pprev. After struggling for sometime in sched.h, I understood that pidhash_pprev actually points to the address of previous entry's pidhash_next's address.
Why it is not pointing to the previous entry's address as any other simple doubly linked lists? Any reason for this ?
Om.
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/