[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080813004006.GD22793@kroah.com>
Date: Tue, 12 Aug 2008 17:40:06 -0700
From: Greg KH <greg@...ah.com>
To: Christoph Lameter <cl@...ux-foundation.org>
Cc: Pekka Enberg <penberg@...helsinki.fi>, akpm@...ux-foundation.org,
Christoph Lameter <clameter@....com>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
Mel Gorman <mel@...net.ie>, andi@...stfloor.org,
Rik van Riel <riel@...hat.com>, mpm@...enic.com,
Dave Chinner <david@...morbit.com>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists