summaryrefslogtreecommitdiffstats
path: root/include/linux/sysv_fs.h
diff options
context:
space:
mode:
authorDave Hansen <haveblue@us.ibm.com>2005-06-23 00:07:47 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-23 09:45:03 -0700
commit93b7504e3e6c1d98586854806e51bea329ea3aa9 (patch)
tree7b0d6f3a6214960daf3136f8c418178405521c07 /include/linux/sysv_fs.h
parent0e19243e9a19ef8e5994852671bd06bb51630811 (diff)
downloadblackbird-op-linux-93b7504e3e6c1d98586854806e51bea329ea3aa9.tar.gz
blackbird-op-linux-93b7504e3e6c1d98586854806e51bea329ea3aa9.zip
[PATCH] Introduce new Kconfig option for NUMA or DISCONTIG
There is some confusion that arose when working on SPARSEMEM patch between what is needed for DISCONTIG vs. NUMA. Multiple pg_data_t's are needed for DISCONTIGMEM or NUMA, independently. All of the current NUMA implementations require an implementation of DISCONTIG. Because of this, quite a lot of code which is really needed for NUMA is actually under DISCONTIG #ifdefs. For SPARSEMEM, we changed some of these #ifdefs to CONFIG_NUMA, but that broke the DISCONTIG=y and NUMA=n case. Introducing this new NEED_MULTIPLE_NODES config option allows code that is needed for both NUMA or DISCONTIG to be separated out from code that is specific to DISCONTIG. One great advantage of this approach is that it doesn't require every architecture to be converted over. All of the current implementations should "just work", only the ones implementing SPARSEMEM will have to be fixed up. The change to free_area_init() makes it work inside, or out of the new config option. Signed-off-by: Dave Hansen <haveblue@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sysv_fs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud