]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] 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)
committerChris Wright <chrisw@sous-sol.org>
Wed, 23 May 2007 21:32:43 +0000 (14:32 -0700)
commite0f06641031cd2e6c84c00146f95341d0826651c
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