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]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux