lkml.org 
[lkml]   [2009]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2009-10-15 23:25    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site