[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080115204236.6349ac48.akpm@linux-foundation.org>
Date: Tue, 15 Jan 2008 20:42:36 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Fengguang Wu <wfg@...l.ustc.edu.cn>
Cc: Michael Rubin <mrubin@...gle.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [patch] Converting writeback linked lists to a tree based data
structure
On Wed, 16 Jan 2008 12:25:53 +0800 Fengguang Wu <wfg@...l.ustc.edu.cn> wrote:
> list_heads are OK if we use them for one and only function.
Not really. They're inappropriate when you wish to remember your
position in the list while you dropped the lock (as we must do in
writeback).
A data structure which permits us to interate across the search key rather
than across the actual storage locations is more appropriate.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists