Re: slab: Remove SLAB_NO_REAP option

From: Pekka Enberg
Date: Thu Feb 23 2006 - 02:45:20 EST


Hi,

On 2/23/06, Christoph Lameter <clameter@xxxxxxxxxxxx> wrote:
> SLAB_NO_REAP is documented as an option that will cause this slab
> not to be reaped under memory pressure. However, that is not what
> happens. The only thing that SLAB_NO_REAP controls at the moment
> is the reclaim of the unused slab elements that were allocated in
> batch in cache_reap(). Cache_reap() is run every few seconds
> independently of memory pressure.
>
> Could we remove the whole thing? Its only used by three slabs
> anyways and I cannot find a reason for having this option.

Looks good, and I have been meaning to do this myself as well.

Acked-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>

P.S. Please use penberg@xxxxxxxxxxxxxx, not the gmail one. Thanks.

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