Design Patterns in Linux Kernel: Fancy Tricks With Linked Lists
Robert P. J. Day
rpjday at crashcourse.ca
Tue Mar 19 11:39:59 EDT 2013
Quoting Arlie Stephens <arlie at worldash.org>:
> Hi Folks,
>
> I'm trying to understand the linux way of doing things, so as to write
> code which will be easier for experienced linux kernel people to
> understand. Yesterday I wound up in a 3 engineer discussion about
> something conceptually simple, that just didn't want to be done with
> the tools at hand; what's worse, the only ways I could see to do it
> were (a) do my own linked lists or (b) write some routines that relied
> kind of heavily on the never-mentioned-in-documentation details of
> linux/list.h I'll probably go with option (b), as that seems less
> insane, but I thought I might as well ask here as well.
... snip ...
http://crashcourse.ca/introduction-linux-kernel-programming/intermission-lets-talk-about-linked-lists-and-containerof-free
rday
More information about the Kernelnewbies
mailing list