Messages in this thread | | | Date | Tue, 24 Feb 2015 07:45:10 +0100 | From | Juergen Gross <> | 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
| |