aboutsummaryrefslogtreecommitdiffstats
path: root/mm/Kconfig
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2007-07-17 07:03:37 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 13:23:02 -0400
commit2a7326b5bbafac4c96bcdb944b2a773593030b96 (patch)
tree25bc49eadea73cf2133198963d1baf3f5def7316 /mm/Kconfig
parent831441862956fffa17b9801db37e6ea1650b0f69 (diff)
CONFIG_BOUNCE to avoid useless inclusion of bounce buffer logic
The bounce buffer logic is included on systems that do not need it. If a system does not have zones like ZONE_DMA and ZONE_HIGHMEM that can lead to the use of bounce buffers then there is no need to reserve memory pools etc etc. This is true f.e. for SGI Altix. Also nicifies the Makefile and gets rid of the tricky "and" there. Signed-off-by: Christoph Lameter <clameter@sgi.com> Acked-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/Kconfig')
-rw-r--r--mm/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index 086af703da43..86187221e78f 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -163,6 +163,10 @@ config ZONE_DMA_FLAG
163 default "0" if !ZONE_DMA 163 default "0" if !ZONE_DMA
164 default "1" 164 default "1"
165 165
166config BOUNCE
167 def_bool y
168 depends on BLOCK && MMU && (ZONE_DMA || HIGHMEM)
169
166config NR_QUICK 170config NR_QUICK
167 int 171 int
168 depends on QUICKLIST 172 depends on QUICKLIST