Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1286128
| From | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 0/2] mm: Introduce kernelcore=reliable option |
| Date | 2015-12-08 01:40 +0100 |
| Message-ID | <qDetY-3wh-9@gated-at.bofh.it> (permalink) |
| References | <qzkoh-7vo-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH v2 0/2] mm: Introduce kernelcore=reliable option Andrew Morton <akpm@linux-foundation.org> - 2015-12-08 01:40 +0100
RE: [PATCH v2 0/2] mm: Introduce kernelcore=reliable option "Izumi, Taku" <izumi.taku@jp.fujitsu.com> - 2015-12-08 09:10 +0100
Re: [PATCH v2 0/2] mm: Introduce kernelcore=reliable option Tony Luck <tony.luck@gmail.com> - 2015-12-08 17:20 +0100
RE: [PATCH v2 0/2] mm: Introduce kernelcore=reliable option "Izumi, Taku" <izumi.taku@jp.fujitsu.com> - 2015-12-09 01:00 +0100
csiph-web