lkml.org 
[lkml]   [2008]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: cacheline_align tss_struct

* Richard Kennedy <richard@rsk.demon.co.uk> wrote:

> The manual padding to align on cacheline size only worked in 32 bit
> In 64 bit the structure was not aligned and contained wasted space.
>
> use the compiler ____cachline_aligned to save space & properly align
> this structure.
>
> x86_64_default size goes from 9136 -> 8960
> x86_64_AMD size goes from 9136 -> 8896

applied to tip/x86/cleanups - thanks Richard!

Ingo


\
 
 \ /
  Last update: 2008-07-04 16:51    [W:0.046 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site