* [PATCH] memblock: add NO_BOOTMEM config symbol
@ 2011-08-06 19:11 Sam Ravnborg
2011-08-08 9:34 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Sam Ravnborg @ 2011-08-06 19:11 UTC (permalink / raw)
To: Tejun Heo; +Cc: lkml, David S. Miller, Yinghai Lu
With the NO_BOOTMEM symbol added archistectures may now
use the following syntax to tell that they do not need bootmem:
select NO_BOOTMEM
This is much more convinient than adding a new kconfig symbol
which was otherwise required.
Addign this symbol does not conflict with the architctures that
already define their own symbol.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Yinghai Lu <yinghai@kernel.org>
---
diff --git a/mm/Kconfig b/mm/Kconfig
index 7c56971..af0047d 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -137,6 +137,9 @@ config HAVE_MEMBLOCK_NODE_MAP
config ARCH_DISCARD_MEMBLOCK
boolean
+config NO_BOOTMEM
+ boolean
+
# eventually, we can have this option just 'select SPARSEMEM'
config MEMORY_HOTPLUG
bool "Allow for memory hot-add"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] memblock: add NO_BOOTMEM config symbol
2011-08-06 19:11 [PATCH] memblock: add NO_BOOTMEM config symbol Sam Ravnborg
@ 2011-08-08 9:34 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2011-08-08 9:34 UTC (permalink / raw)
To: Sam Ravnborg; +Cc: lkml, David S. Miller, Yinghai Lu, H. Peter Anvin
(cc'ing hpa)
On Sat, Aug 06, 2011 at 09:11:11PM +0200, Sam Ravnborg wrote:
> With the NO_BOOTMEM symbol added archistectures may now
> use the following syntax to tell that they do not need bootmem:
>
> select NO_BOOTMEM
>
> This is much more convinient than adding a new kconfig symbol
> which was otherwise required.
>
> Addign this symbol does not conflict with the architctures that
> already define their own symbol.
>
> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
> Cc: Yinghai Lu <yinghai@kernel.org>
Acked-by: Tejun Heo <tj@kernel.org>
Thanks.
> ---
> diff --git a/mm/Kconfig b/mm/Kconfig
> index 7c56971..af0047d 100644
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -137,6 +137,9 @@ config HAVE_MEMBLOCK_NODE_MAP
> config ARCH_DISCARD_MEMBLOCK
> boolean
>
> +config NO_BOOTMEM
> + boolean
> +
> # eventually, we can have this option just 'select SPARSEMEM'
> config MEMORY_HOTPLUG
> bool "Allow for memory hot-add"
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-08 9:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-06 19:11 [PATCH] memblock: add NO_BOOTMEM config symbol Sam Ravnborg
2011-08-08 9:34 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®