[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.00.0910151414570.25796@chino.kir.corp.google.com>
Date: Thu, 15 Oct 2009 14:17:31 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
cc: Hugh Dickins <hugh.dickins@...cali.co.uk>,
Andrew Morton <akpm@...ux-foundation.org>,
Nitin Gupta <ngupta@...are.org>, hongshin@...il.com,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH 7/9] swap_info: swap count continuations
On Thu, 15 Oct 2009, KAMEZAWA Hiroyuki wrote:
> Hmm...maybe I don't understand the benefit of this style of data structure.
>
> Do we need fine grain chain ?
> Is array of "unsigned long" counter is bad ? (too big?)
>
I'm wondering if flex_array can be used for this purpose, which can store
up to 261632 elements of size unsigned long with 4K pages, or whether
finding the first available bit or weight would be too expensive.
--
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