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 majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/