[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54EC1DF6.8090904@suse.com>
Date: Tue, 24 Feb 2015 07:45:10 +0100
From: Juergen Gross <jgross@...e.com>
To: David Vrabel <dvrabel@...tab.net>, linux-kernel@...r.kernel.org,
xen-devel@...ts.xensource.com, konrad.wilk@...cle.com,
david.vrabel@...rix.com, boris.ostrovsky@...cle.com
Subject: Re: [Xen-devel] [PATCH 09/13] xen: check for kernel memory conflicting
with memory layout
On 02/19/2015 06:36 PM, David Vrabel wrote:
> On 18/02/2015 06:52, Juergen Gross wrote:
>> Checks whether the pre-allocated memory of the loaded kernel is in
>> conflict with the target memory map. If this is the case, just panic
>> instead of run into problems later.
>
> What ensures this doesn't actually happen?
Nothing.
We have basically three options here:
- Die early (my patch).
- Issue a warning that the critical situation has been detected and hope
for the best by not doing the remap, but probably run into strange
situations when the discrepancy between E820 map and memory usage is
becoming problematic.
- Do the remap like today and die eventually when the relocated page is
used for p2m/m2p translations (no real option).
Juergen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists