lkml.org 
[lkml]   [2011]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2011-05-25 01:09    [W:0.271 / U:6.696 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site