| Date | Tue, 24 May 2011 16:06:25 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [RFC][PATCH] Randomize kernel base address on boot |
| |
On 05/24/2011 02:16 PM, Ingo Molnar wrote: > > On some systems holes can be pretty low as well - you'd have to research e820 > maps submitted to lkml to see how common this is - but it's not terribly > common. > > Some really old systems might have a hole between 15MB-16MB - but that's not an > issue if we load at 16 MB or higher. >
It definitely happens, and not just at 15-16 MiB either.
Doing this without actually consulting the memory map is dangerous as hell; plus you have to verify that you're not clobbering anything else, like the command line, initramfs or the linked list of data.
-hpa
|