Design Patterns in Linux Kernel: Fancy Tricks With Linked Lists

Greg Freemyer greg.freemyer at gmail.com
Wed Mar 20 08:37:57 EDT 2013



"Robert P. J. Day" <rpjday at crashcourse.ca> wrote:

>Quoting Arlie Stephens <arlie at worldash.org>:
>
>> Interestingly, part of the debate yesterday probably resulted from
>one
>> engineer having Love's 2nd edition, and me having his 3rd
>> edition. Apparently RPDay pointed out some problems to Love which
>> resulted in him changing his linked list discussion in his 3rd
>> edition ;-)
>
>  Been a while since I re-read my own tutorial, it might merit a bit of
>a rewrite. Is there anything about it that seems unclear -- I remember
>my own moment of epiphany, "Holy crap, what an interesting way to do
>it."
>
>   And, yes, if you try to reconcile Love's 2nd and 3rd editions on the
>topic, that will not end well. :-)
>
>rday
>

Robert,

I read it briefly yesterday.  I don't recall it having an example like:

Instantiate head pointer
Add 2 or 3 list members
Walk list and printk a object member

I find examples like that make all the difference for me.

Greg
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.



More information about the Kernelnewbies mailing list