[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4A5D318C.5090508@cn.fujitsu.com>
Date: Wed, 15 Jul 2009 09:31:56 +0800
From: Li Zefan <lizf@...fujitsu.com>
To: Dave Hansen <dave@...ux.vnet.ibm.com>
CC: Benjamin Blum <bblum@...gle.com>,
containers@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, menage@...gle.com,
akpm@...ux-foundation.org
Subject: Re: [PATCH 1/3] Adds a read-only "procs" file similar to "tasks"
that shows only unique tgids
Dave Hansen wrote:
> On Tue, 2009-07-14 at 14:26 -0700, Benjamin Blum wrote:
>> This method looks to be a compromise between Andrew's proposed
>> generalized solution ( http://lkml.org/lkml/2009/7/2/518 ) and the
>> current quick-fix. The problem with it is that it'll require a layer
>> between whoever's using the array and managing the list structs (for
>> the case where we need to chain multiple blocks together), and if
>> we're going to put forth enough effort for that, we may as well go
>> ahead and write up a generalized kernel-wide library to fix this size
>> problem globally.
>
> This "Andrew" guy seems to know what he's talking about. :)
>
> We've also got a set of pgarrs (struct page arrays) in the
> checkpoint/restart code that would make use of something generic like
> this.
>
The dynamic-page-array thing sounds a right way to go. It's open-coded
in some other places, ring_buffer.c is one among.
--
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