]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
slob: fix page order calculation on not 4KB page
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 6 May 2007 21:50:19 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:12:57 +0000 (12:12 -0700)
commit4ab688c51226188f2d4ad4f789032c107944ef89
treef0793bf529ada8da81a764766996db90073a020f
parent5bc98594d59672303c4c9c07262ecc373dc374da
slob: fix page order calculation on not 4KB page

SLOB doesn't calculate correct page order when page size is not 4KB.  This
patch fixes it with using get_order() instead of find_order() which is SLOB
version of get_order().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Matt Mackall <mpm@selenic.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slob.c