From: Matthew Wilcox <matthew@wil.cx>
To: Christoph Hellwig <hch@infradead.org>,
shobhit dayal <shobhit@calsoftinc.com>,
christoph@lameter.com, manfred@colorfullife.com, akpm@osdl.org,
linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org,
linux-mm@kvack.org, Shai Fultheim <shai@scalex86.org>
Subject: Re: Fwd: [PATCH] Pageset Localization V2
Date: Thu, 31 Mar 2005 15:47:40 +0100 [thread overview]
Message-ID: <20050331144740.GB21986@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <20050331143235.GA18058@infradead.org>
On Thu, Mar 31, 2005 at 03:32:35PM +0100, Christoph Hellwig wrote:
> Which would be much nicer done using INIT_LIST_HEAD on the new head
> always and then calling list_replace (of which currently only a _rcu variant
> exists).
INIT_LIST_HEAD followed by list_splice() should do the trick, I think.
BTW, is it a problem that the list head which the list was copied from
still points into the list?
--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
next prev parent reply other threads:[~2005-03-31 14:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-30 5:51 Christoph Lameter
2005-03-30 11:14 ` Christoph Hellwig
[not found] ` <bab4333005033003295f487e3d@mail.gmail.com>
2005-03-30 13:06 ` Fwd: " shobhit dayal
2005-03-31 14:32 ` Christoph Hellwig
2005-03-31 14:47 ` Matthew Wilcox [this message]
2005-03-31 15:36 ` Christoph Lameter
2005-03-31 15:53 ` Christoph Lameter
2005-03-31 15:35 ` Christoph Lameter
2005-03-30 13:40 ` Matthew Wilcox
2005-03-31 3:50 ` Christoph Lameter
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=20050331144740.GB21986@parcelfarce.linux.theplanet.co.uk \
--to=matthew@wil.cx \
--cc=akpm@osdl.org \
--cc=christoph@lameter.com \
--cc=hch@infradead.org \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=manfred@colorfullife.com \
--cc=shai@scalex86.org \
--cc=shobhit@calsoftinc.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