slab: fix cache_cache bootstrap in kmem_cache_init()
authorDaniel Yeisley <dan.yeisley@unisys.com>
Tue, 25 Mar 2008 21:59:08 +0000 (23:59 +0200)
committerChristoph Lameter <clameter@sgi.com>
Wed, 26 Mar 2008 17:44:17 +0000 (10:44 -0700)
commitec1f5eeeb5a79a0d48036de649a3498da42db565
tree29b34d9aae8b61633e8ad549864d97cc474ec6b2
parent53625b4204753b904addd40ca96d9ba802e6977d
slab: fix cache_cache bootstrap in kmem_cache_init()

Commit 556a169dab38b5100df6f4a45b655dddd3db94c1 ("slab: fix bootstrap on
memoryless node") introduced bootstrap-time cache_cache list3s for all nodes
but forgot that initkmem_list3 needs to be accessed by [somevalue + node]. This
patch fixes list_add() corruption in mm/slab.c seen on the ES7000.

Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Olaf Hering <olaf@aepfle.de>
Cc: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Dan Yeisley <dan.yeisley@unisys.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
mm/slab.c