Re: [patch 01/19] slub: Add defrag_ratio field and sysfs support.

From: Greg KH
Date: Tue Aug 12 2008 - 20:46:56 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/