Messages in this thread | | | Date | Thu, 15 Oct 2009 14:17:31 -0700 (PDT) | From | David Rientjes <> | 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.
| |