]> git.hungrycats.org Git - linux/commit
[PATCH] x86_64: emulate NUMA on non-NUMA hardware
authorAndi Kleen <ak@suse.de>
Tue, 31 Aug 2004 03:34:59 +0000 (20:34 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 31 Aug 2004 03:34:59 +0000 (20:34 -0700)
commit60b292cab32ba482d8119906fbd4f73c7117c70b
tree9c4d57bec323a8a9290e3591907f0f1bb13962e1
parent14ef4d0a5b1213a0ebac1bcc5b28298a357cfc80
[PATCH] x86_64: emulate NUMA on non-NUMA hardware

Apply this handy patch and boot with numa=fake=4 (or how many nodes you
want, 8 max right now).

There is a minor issue with the hash function, which can make the last node
be bigger than the others.  Is probably fixable if it should be a problem.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/mm/numa.c