]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
slub: Drop DEFAULT_MAX_ORDER / DEFAULT_MIN_OBJECTS
authorChristoph Lameter <clameter@sgi.com>
Mon, 14 Apr 2008 16:11:41 +0000 (19:11 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sun, 27 Apr 2008 15:28:39 +0000 (18:28 +0300)
commit114e9e89e668ec561c9b0f3dea7bcc8af7c29d21
tree12ee7fdc5e3068d7c5e9bf8d7e5f65f75673bf7b
parent31d33baf36bda7a2fea800648d87c9fe6155e7ca
slub: Drop DEFAULT_MAX_ORDER / DEFAULT_MIN_OBJECTS

We can now fallback to order 0 slabs. So set the slub_max_order to
PAGE_CACHE_ORDER_COSTLY but keep the slub_min_objects at 4. This
will mostly preserve the orders used in 2.6.25. F.e. The 2k kmalloc slab
will use order 1 allocs and the 4k kmalloc slab order 2.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c