]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
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)
commit818cf5909701806285d977f7a9365c5cadb062a7
treef3a4d1f11d6ef32738f761d258e502b8791b199e
parentf4efdd65b754ebbf41484d3a2255c59282720650
slub: enforce MAX_ORDER

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>
mm/slub.c