[lkml]   [2015]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] x86: tell the world boot_params is 16-byte aligned
On 05/08/2015 10:40 AM, Borislav Petkov wrote:
> On Fri, May 08, 2015 at 09:26:49AM -0700, H. Peter Anvin wrote:
>> NAK. This could break in the case of careless bootloaders...
> Please elaborate. You mean, they'll go with the max alignment too and
> search boot_params there?

A careless bootloader may not align this data structure to any
particular alignment.

Of course, for x86 it doesn't matter too much, as it just hurts performance.


 \ /
  Last update: 2015-05-08 20:41    [W:0.047 / U:2.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site