From: Rik van Riel <riel@conectiva.com.br>
To: Peter Chubb <peter@chubb.wattle.id.au>
Cc: Lightweight Patch Manager <patch@luckynet.dynu.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Tomas Szepe <szepe@pinerecords.com>, Ingo Molnar <mingo@elte.hu>
Subject: Re: [PATCH][2.5] Single linked lists for Linux
Date: Wed, 25 Sep 2002 21:35:41 -0300 (BRT) [thread overview]
Message-ID: <Pine.LNX.4.44L.0209252133490.22735-100000@imladris.surriel.com> (raw)
In-Reply-To: <15762.20827.271317.595537@wombat.chubb.wattle.id.au>
On Thu, 26 Sep 2002, Peter Chubb wrote:
> +#define slist_del(_head, _entry) \
>
> This only works if head->next == entry otherwise you lose half your
> list. Also, none of this is SMP-safe.
Oh boy, this is the material bad jokes are made from ...
Q: How many lightweight patch managers does it take to do a
singly linked list list_del ?
A: 4, two to hold down the list head, one to chop off the tail
and another one to sweep the lost entries under the carpet.
Sorry, but I couldn't resist this one ;)
cheers,
Rik
--
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/ http://distro.conectiva.com/
Spamtraps of the month: september@surriel.com trac@trac.org
next prev parent reply other threads:[~2002-09-26 0:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <83015759@toto.iv>
2002-09-26 0:14 ` [PATCH][2.5] Single linked lists for Linux Peter Chubb
2002-09-26 0:25 ` Zwane Mwaikambo
2002-09-26 0:35 ` Rik van Riel [this message]
2002-09-26 6:42 ` Thunder from the hill
2002-09-25 20:56 Lightweight Patch Manager
2002-09-25 21:11 ` Rik van Riel
2002-09-25 21:23 ` Thunder from the hill
2002-09-25 21:17 ` Mark Mielke
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=Pine.LNX.4.44L.0209252133490.22735-100000@imladris.surriel.com \
--to=riel@conectiva.com.br \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=patch@luckynet.dynu.com \
--cc=peter@chubb.wattle.id.au \
--cc=szepe@pinerecords.com \
/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).