slub: Fix bad boundary check in init_kmem_cache_nodes()
authorZhang, Yanmin <yanmin_zhang@linux.intel.com>
Thu, 1 Apr 2010 09:32:30 +0000 (17:32 +0800)
committerPekka Enberg <penberg@cs.helsinki.fi>
Wed, 5 May 2010 18:12:19 +0000 (21:12 +0300)
commit111c7d82436db4c7673922b6ba021cebb7d26dd8
treee0faa1eb3793b27fa5a05b8e0b1311f83f16e5f6
parent8777c793d6a24c7f3adf52b1b1086e9706de4589
slub: Fix bad boundary check in init_kmem_cache_nodes()

Function init_kmem_cache_nodes is incorrect when checking upper limitation of
kmalloc_caches. The breakage was introduced by commit
91efd773c74bb26b5409c85ad755d536448e229c ("dma kmalloc handling fixes").

Acked-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c