From: Andrew Morton <akpm@linux-foundation.org>
To: Taku Izumi <izumi.taku@jp.fujitsu.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
tony.luck@intel.com, qiuxishi@huawei.com,
kamezawa.hiroyu@jp.fujitsu.com, mel@csn.ul.ie,
dave.hansen@intel.com, matt@codeblueprint.co.uk
Subject: Re: [PATCH v2 0/2] mm: Introduce kernelcore=reliable option
Date: Mon, 7 Dec 2015 16:31:12 -0800 [thread overview]
Message-ID: <20151207163112.930a495d24ab259cad9020ac@linux-foundation.org> (raw)
In-Reply-To: <1448636635-15946-1-git-send-email-izumi.taku@jp.fujitsu.com>
On Sat, 28 Nov 2015 00:03:55 +0900 Taku Izumi <izumi.taku@jp.fujitsu.com> wrote:
> Xeon E7 v3 based systems supports Address Range Mirroring
> and UEFI BIOS complied with UEFI spec 2.5 can notify which
> ranges are reliable (mirrored) via EFI memory map.
> Now Linux kernel utilize its information and allocates
> boot time memory from reliable region.
>
> My requirement is:
> - allocate kernel memory from reliable region
> - allocate user memory from non-reliable region
>
> In order to meet my requirement, ZONE_MOVABLE is useful.
> By arranging non-reliable range into ZONE_MOVABLE,
> reliable memory is only used for kernel allocations.
>
> My idea is to extend existing "kernelcore" option and
> introduces kernelcore=reliable option. By specifying
> "reliable" instead of specifying the amount of memory,
> non-reliable region will be arranged into ZONE_MOVABLE.
It is unfortunate that the kernel presently refers to this memory as
"mirrored", but this patchset introduces the new term "reliable". I
think it would be better if we use "mirrored" throughout.
Of course, mirroring isn't the only way to get reliable memory.
Perhaps if a part of the system memory has ECC correction then this
also can be accessed using "reliable", in which case your proposed
naming makes sense. reliable == mirrored || ecc?
Secondly, does this patchset mean that kernelcore=reliable and
kernelcore=100M are exclusive? Or can the user specify
"kernelcore=reliable,kernelcore=100M" to use 100M of reliable memory
for kernelcore?
This is unclear from the documentation and I suggest that this be
spelled out.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2015-12-08 0:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-27 15:03 Taku Izumi
2015-11-27 15:04 ` [PATCH v2 1/2] mm: Calculate zone_start_pfn at zone_spanned_pages_in_node() Taku Izumi
2015-11-27 15:04 ` [PATCH v2 2/2] mm: Introduce kernelcore=reliable option Taku Izumi
2015-12-09 2:25 ` Xishi Qiu
2015-12-09 2:40 ` Xishi Qiu
2015-12-09 3:10 ` Izumi, Taku
2015-12-08 0:25 ` [PATCH v2 0/2] " Tony Luck
2015-12-08 0:31 ` Andrew Morton [this message]
2015-12-08 8:07 ` Izumi, Taku
2015-12-08 16:11 ` Tony Luck
2015-12-08 23:53 ` Izumi, Taku
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=20151207163112.930a495d24ab259cad9020ac@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=dave.hansen@intel.com \
--cc=izumi.taku@jp.fujitsu.com \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=matt@codeblueprint.co.uk \
--cc=mel@csn.ul.ie \
--cc=qiuxishi@huawei.com \
--cc=tony.luck@intel.com \
/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