From: rpjday@crashcourse.ca (Robert P. J. Day)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Linked lists for userspace programs in Linux
Date: Mon, 16 Jun 2014 04:13:42 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.2.11.1406160412340.1106@localhost> (raw)
In-Reply-To: <128275.1402889057@turing-police.cc.vt.edu>
On Sun, 15 Jun 2014, Valdis.Kletnieks at vt.edu wrote:
> Oh, by the way, keep in mind that the Linux kernel "linked list" is
> actually a circularly linked list - as a result, treating it as a
> normal linked list (particularly when checking for empty list or
> end-of-list) is likely to result in hilarity and hijinks for all...
once upon a time, i wrote a piece on how kernel linked lists work,
i think it's still accurate.
http://crashcourse.ca/introduction-linux-kernel-programming/intermission-lets-talk-about-linked-lists-and-containerof-free
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
next prev parent reply other threads:[~2014-06-16 8:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-13 18:38 Linked lists for userspace programs in Linux Chandrasekaran Sivakumar
2014-06-16 3:24 ` Valdis.Kletnieks at vt.edu
2014-06-16 8:13 ` Robert P. J. Day [this message]
2014-06-16 13:35 ` Chandrasekaran Sivakumar
2014-06-16 16:01 ` Valdis.Kletnieks at vt.edu
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=alpine.LFD.2.11.1406160412340.1106@localhost \
--to=rpjday@crashcourse.ca \
--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).