SLUB: rework slab order determination
authorChristoph Lameter <clameter@sgi.com>
Wed, 9 May 2007 09:32:46 +0000 (02:32 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:46 +0000 (12:30 -0700)
commit5e6d444ea1f72b8148354a9baf0ea8fa3dd0425b
treec9c07fd97acd925bfb9c4964240799414243d399
parent45edfa580b8e638c44ec26872bfe75b307ba12d1
SLUB: rework slab order determination

In some cases SLUB is creating uselessly slabs that are larger than
slub_max_order. Also the layout of some of the slabs was not satisfactory.

Go to an iterarive approach.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c