]> git.baikalelectronics.ru Git - kernel.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)
commit42b7c7a1066d7ad931b3b8cd9bf22a8f095aaede
treef0793bf529ada8da81a764766996db90073a020f
parent0d470a1bf49f70f578bb93e2836fa690d116ef40
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