]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] reduce MAX_NR_ZONES: make ZONE_DMA32 optional
authorChristoph Lameter <clameter@sgi.com>
Tue, 26 Sep 2006 06:31:13 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:46 +0000 (08:48 -0700)
commit15856eb4ecc35fa59e2604ae70fe2d361bcaa42f
tree71344e9afafbd631f4ac010bc8c48e0b16737299
parent1b50d774c6c8ace968cc233a41795dab1de00b19
[PATCH] reduce MAX_NR_ZONES: make ZONE_DMA32 optional

Make ZONE_DMA32 optional

- Add #ifdefs around ZONE_DMA32 specific code and definitions.

- Add CONFIG_ZONE_DMA32 config option and use that for x86_64
  that alone needs this zone.

- Remove the use of CONFIG_DMA_IS_DMA32 and CONFIG_DMA_IS_NORMAL
  for ia64 and fix up the way per node ZVCs are calculated.

- Fall back to prior GFP_ZONEMASK of 0x03 if there is no
  DMA32 zone.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ia64/Kconfig
arch/x86_64/Kconfig
include/linux/gfp.h
include/linux/mmzone.h
include/linux/vmstat.h
mm/page_alloc.c