Re: Use of double pointer in linux kernel Hash list implementation

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

 



2010-06-17 (목), 10:34 -0400, Balachandar:

> 
> My doubt is why not use *prev as it is used in list_head
> implementation rather than **pprev.  

hlist is simple linked list so there is no need of *prev. **pprev is a
kind of hack and should not be accessed in the outside of hlist. If you
need *prev, just use list_head.

-- 
Regards,
Namhyung Kim

Attachment: signature.asc
Description: This is a digitally signed message part


[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