Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1253686
| From | Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mm: Introduce kernelcore=reliable option |
| Date | 2015-10-22 12:10 +0200 |
| Message-ID | <qmkYO-7xa-17@gated-at.bofh.it> (permalink) |
| References | <qjIkW-3LP-5@gated-at.bofh.it> <qm69s-2wo-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2015/10/22 3:17, Luck, Tony wrote:
> + if (reliable_kernelcore) {
> + for_each_memblock(memory, r) {
> + if (memblock_is_mirror(r))
> + continue;
>
> Should we have a safety check here that there is some mirrored memory? If you give
> the kernelcore=reliable option on a machine which doesn't have any mirror configured,
> then we'll mark all memory as removable.
You're right.
> What happens then? Do kernel allocations fail? Or do they fall back to using removable memory?
Maybe the kernel cannot boot because NORMAL zone is empty.
> Is there a /proc or /sys file that shows the current counts for the removable zone? I just
> tried this patch with a high percentage of memory marked as mirror ... but I'd like to see
> how much is actually being used to tune things a bit.
>
I think /proc/zoneinfo can show detailed numbers per zone. Do we need some for meminfo ?
Thanks,
-Kame
--
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 — Previous in thread | Next in thread | Find similar | Unroll thread
RE: [PATCH] mm: Introduce kernelcore=reliable option "Luck, Tony" <tony.luck@intel.com> - 2015-10-21 20:20 +0200
Re: [PATCH] mm: Introduce kernelcore=reliable option Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> - 2015-10-22 12:10 +0200
RE: [PATCH] mm: Introduce kernelcore=reliable option "Luck, Tony" <tony.luck@intel.com> - 2015-10-23 01:30 +0200
RE: [PATCH] mm: Introduce kernelcore=reliable option "Izumi, Taku" <izumi.taku@jp.fujitsu.com> - 2015-10-23 03:10 +0200
Re: [PATCH] mm: Introduce kernelcore=reliable option "Luck, Tony" <tony.luck@intel.com> - 2015-10-23 03:50 +0200
Re: [PATCH] mm: Introduce kernelcore=reliable option Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> - 2015-10-30 07:30 +0100
RE: [PATCH] mm: Introduce kernelcore=reliable option "Luck, Tony" <tony.luck@intel.com> - 2015-10-30 20:50 +0100
csiph-web