]> err.no Git - linux-2.6/commit
[PATCH] mm: slab cache interleave rotor fix
authorPaul Jackson <pj@sgi.com>
Wed, 22 Mar 2006 08:09:11 +0000 (00:09 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:54:06 +0000 (07:54 -0800)
commit442295c94bf650221af3ef20fc68fa3e93876818
tree32d5cae69596ec7729172901487cc08a357448f1
parentfdb7cc59084ba7eef935e4e40aaaf538ee34c625
[PATCH] mm: slab cache interleave rotor fix

The alien cache rotor in mm/slab.c assumes that the first online node is
node 0.  Eventually for some archs, especially with hotplug, this will no
longer be true.

Fix the interleave rotor to handle the general case of node numbering.

Signed-off-by: Paul Jackson <pj@sgi.com>
Acked-by: Christoph Lameter <clameter@engr.sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/slab.c