[PATCH] slob: fix page order calculation on not 4KB page
commite0f06641031cd2e6c84c00146f95341d0826651c
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 6 May 2007 21:50:19 +0000 (6 14:50 -0700)
committerChris Wright <chrisw@sous-sol.org>
Wed, 23 May 2007 21:32:43 +0000 (23 14:32 -0700)
treed9f2f15d0c453cced3056aa004912ea564037411
parentab6823b4e00d05cd7233dae4c5e6ac80908ad059
[PATCH] 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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
mm/slob.c