[lkml]   [2011]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC][PATCH] Randomize kernel base address on boot
On Tue, 2011-05-24 at 16:07 -0700, H. Peter Anvin wrote:
> On 05/24/2011 04:04 PM, Dan Rosenberg wrote:
> >
> >> 2. Not introduce a performance regression (we avoid locating in the
> >> bottom 16 MiB for performance reasons, except on very small systems);
> >
> > I altered the boot code so that it uses CONFIG_PHYSICAL_START, which
> > defaults to 16 MiB, as a lower bound on location. So nothing will ever
> > get loaded below there, and I still can take advantage of higher
> > alignment granularity. Are there other problems I'm not anticipating?
> >
> Please look at the discussion as to what led us to do things this way.

Would you be able to point me to said discussion? The only thing I can
find is this:

This set PHYSICAL_START at 16 MB and alignment at 2/4 MB. Then, three
days later, this was committed:;a=commit;h=ceefccc93932b920a8ec6f35f596db05202a12fe

This sets the alignment to 16 MB, with the only justification being that
relocatable kernels also need to start above 16 MB.


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