SLUB: Simplify dma index -> size calculation
authorChristoph Lameter <clameter@sgi.com>
Tue, 17 Jul 2007 11:03:27 +0000 (04:03 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:01 +0000 (10:23 -0700)
commit7b55f620e6908fec2d51751320c2a9459b5f375f
tree6fb32a7051b4358018fb26a3125e3b9621418abe
parentf1b263393626fe66bee34ccdbf0487cd377e0213
SLUB: Simplify dma index -> size calculation

There is no need to caculate the dma slab size ourselves. We can simply
lookup the size of the corresponding non dma slab.

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