Messages in this thread | | | From | Tony Luck <> | Date | Tue, 3 Feb 2015 14:40:19 -0800 | Subject | [RFC 3/3] x86, mirror: x86 enabling - find mirrored memory ranges and tell memblock |
| |
Can't post this part yet because it uses things in an upcoming[*] ACPI, UEFI, or some other four-letter-ending-in-I standard. So just imagine a call someplace early in startup that reads information about mirrored address ranges and does:
+ for (...) { + start = ...; + size = ...; + if (it looks mirrored) + memblock_mark_mirror(start, size); + }
Whole patch is pretty tiny:
3 files changed, 19 insertions(+)
How much damage could I possibly do in just 19 lines?
-Tony
[*] very soon, I'm told
| |