Messages in this thread | | | Date | Tue, 12 Aug 2008 17:40:06 -0700 | From | Greg KH <> | Subject | Re: [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
| |