From e4a9da76fc26ba251b9aa12e0a2502e55971623c Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Mon, 17 Dec 2007 16:19:53 -0800 Subject: [PATCH] --- yaml --- r: 74973 b: refs/heads/master c: a5ee6daa525c04079baee6f393c0b2dab3f61253 h: refs/heads/master i: 74971: c896babf66f539bf77d4dd6ee61e814739994a1e v: v3 --- [refs] | 2 +- trunk/mm/Kconfig | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/[refs] b/[refs] index 8f3015350136..90300e55ab67 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2e12a7fb0d79d011ff9e0b09b53ca4438e5604de +refs/heads/master: a5ee6daa525c04079baee6f393c0b2dab3f61253 diff --git a/trunk/mm/Kconfig b/trunk/mm/Kconfig index c070ec0c15bf..9ef97417a0b9 100644 --- a/trunk/mm/Kconfig +++ b/trunk/mm/Kconfig @@ -112,18 +112,17 @@ config SPARSEMEM_EXTREME def_bool y depends on SPARSEMEM && !SPARSEMEM_STATIC -# -# SPARSEMEM_VMEMMAP uses a virtually mapped mem_map to optimise pfn_to_page -# and page_to_pfn. The most efficient option where kernel virtual space is -# not under pressure. -# config SPARSEMEM_VMEMMAP_ENABLE def_bool n config SPARSEMEM_VMEMMAP - bool - depends on SPARSEMEM - default y if (SPARSEMEM_VMEMMAP_ENABLE) + bool "Sparse Memory virtual memmap" + depends on SPARSEMEM && SPARSEMEM_VMEMMAP_ENABLE + default y + help + SPARSEMEM_VMEMMAP uses a virtually mapped memmap to optimise + pfn_to_page and page_to_pfn operations. This is the most + efficient option when sufficient kernel resources are available. # eventually, we can have this option just 'select SPARSEMEM' config MEMORY_HOTPLUG