lkml.org 
[lkml]   [2008]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 01/19] slub: Add defrag_ratio field and sysfs support.
On Mon, Aug 11, 2008 at 08:06:17AM -0700, Christoph Lameter wrote:
> The defrag_ratio is used to set the threshold at which defragmentation
> should be attempted on a slab page.
>
> The allocation ratio is measured by the percentage of the available slots
> allocated.
>
> Add a defrag ratio field and set it to 30% by default. A limit of 30% specified
> that less than 3 out of 10 available slots for objects are in use before
> slab defragmeentation runs.

Any new sysfs file should also add documentation in Documentation/ABI.

Please add that to this patch.

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-08-13 02:49    [W:0.124 / U:1.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site