slub: enforce MAX_ORDER
authorDavid Rientjes <rientjes@google.com>
Thu, 23 Apr 2009 06:58:22 +0000 (09:58 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Thu, 23 Apr 2009 06:58:22 +0000 (09:58 +0300)
slub_max_order may not be equal to or greater than MAX_ORDER.

Additionally, if a single object cannot be placed in a slab of
slub_max_order, it still must allocate slabs below MAX_ORDER.

Acked-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>

No differences found