kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: arlie@worldash.org (Arlie Stephens)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Design Patterns in Linux Kernel: Fancy Tricks With Linked Lists
Date: Tue, 19 Mar 2013 11:45:35 -0700	[thread overview]
Message-ID: <20130319184535.GA32427@worldash.org> (raw)
In-Reply-To: <20130319135444.55062vj0q2h6ewmc@crashcourse.ca>

Hi Robert,

Thank you very much - for your web pages as well as for your responses
in this thread. 

On Mar 19 2013, Robert P. J. Day wrote:
>    Oh, crap, I just remembered that even Robert Love's 3rd edition of
> "Linux Kernel Development" (aka "LKD3") isn't 100% correct WRT linked
> lists. A while back, I started keeping track of typoes/errors/whatever
> in LKD3 for the benefit of the eventual LKD4, and I started a page here:
> 
> http://www.crashcourse.ca/wiki/index.php/Updates_to_LKD3
> 
>    Partway down that page, you can see my notes on linked lists:
> 
> http://www.crashcourse.ca/wiki/index.php/Updates_to_LKD3#Linked_lists

Beautiful! This page covers everything we were confused about
yesterday. And you are right - I read Love's 3rd edition as more 
ambiguous than wrong, but he does say the "head" node is not a member
of the list, and that's more wrong than ambiguous. Morevover, the
biggest problem with my first implementation was that I believed him.

--
Arlie
(Arlie Stephens					arlie at worldash.org)

  reply	other threads:[~2013-03-19 18:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-19 15:34 Design Patterns in Linux Kernel: Fancy Tricks With Linked Lists Arlie Stephens
2013-03-19 15:39 ` Robert P. J. Day
2013-03-19 15:53 ` Dave Hylands
2013-03-19 16:26   ` Anuz Pratap Singh Tomar
2013-03-19 16:52   ` Arlie Stephens
2013-03-19 17:44     ` Robert P. J. Day
2013-03-19 17:54       ` Robert P. J. Day
2013-03-19 18:45         ` Arlie Stephens [this message]
2013-03-19 19:50           ` Robert P. J. Day
2013-03-20 12:37       ` Greg Freemyer
2013-03-20 13:30         ` Robert P. J. Day
     [not found] ` <CAKop=Li=fz8aZ5O2VXewr5UAByy3x551EJEPoo7=7ys9DWmSmw@mail.gmail.com>
2013-03-19 18:56   ` Victor Buciuc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130319184535.GA32427@worldash.org \
    --to=arlie@worldash.org \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).