**pprev in struct hlist_node in linux/list.h

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

 



Hi,

I was just looking through the hlist implementation and found it somewhat confusing.

I did get a better idea after referring to this :

http://mail.nl.linux.org/kernelnewbies/2008-02/msg00001.html

But what i did observe was that , unlike the list_* macros , the hlist_* macros do not traverse the list in reverse and hence, do not make use of the **pprev pointer. So, isnt it better to have just a singly linked list instead ?

Please forgive me if i am missing something obvious, but some explanation on this would be appreciated.

Thanks.

[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