why task_struct -> pidhash_pprev?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
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/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux