Re: [patch 07/23] SLUB: Add defrag_ratio field and sysfs support.

From: Christoph Lameter
Date: Wed Nov 07 2007 - 13:30:26 EST


On Wed, 7 Nov 2007, Johannes Weiner wrote:

> Hi Christoph,
>
> On Tue, Nov 06, 2007 at 05:11:37PM -0800, Christoph Lameter wrote:
> > --- linux-2.6.orig/include/linux/slub_def.h 2007-11-06 12:36:28.000000000 -0800
> > +++ linux-2.6/include/linux/slub_def.h 2007-11-06 12:37:44.000000000 -0800
> > @@ -53,6 +53,13 @@ struct kmem_cache {
> > void (*ctor)(struct kmem_cache *, void *);
> > int inuse; /* Offset to metadata */
> > int align; /* Alignment */
> > + int defrag_ratio; /*
> > + * objects/possible-objects limit. If we have
> > + * less that the specified percentage of
>
> That should be `less than', I guess.

Correct.

-
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/