From: Tejun Heo <tj@kernel.org>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: lkml <linux-kernel@vger.kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Yinghai Lu <yinghai@kernel.org>, "H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH] memblock: add NO_BOOTMEM config symbol
Date: Mon, 8 Aug 2011 11:34:57 +0200 [thread overview]
Message-ID: <20110808093457.GG23937@htj.dyndns.org> (raw)
In-Reply-To: <20110806191111.GB8494@merkur.ravnborg.org>
(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
prev parent reply other threads:[~2011-08-08 9:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-06 19:11 Sam Ravnborg
2011-08-08 9:34 ` Tejun Heo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110808093457.GG23937@htj.dyndns.org \
--to=tj@kernel.org \
--cc=davem@davemloft.net \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=yinghai@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®