[lkml]   [2009]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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    [W:0.057 / U:4.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site