lkml.org 
[lkml]   [2005]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [discuss] [patch] x86_64: align and pad x86_64 GDT on page boundary
On Thu, Dec 08, 2005 at 03:45:11PM -0800, Rohit Seth wrote:
> On Fri, 2005-12-09 at 00:26 +0100, Andi Kleen wrote:
>
> > Well if the Xen people have such requirements they can submit
> > separate patches. Currently they don't seem to be interested
> > at all in submitting patches to mainline, so we must work
> > with the VM hackers who are interested in this (scalex86, VMware)
> > And AFAIK they only care about not having false sharing in there.
> >
>
>
> Agreed.
>
> Though do we need to have full page allocated for each gdt (256 bytes)
> then? ...possibly use kmalloc.

For scalex I think it needs to be page aligned because that is what
the effective cacheline size for remote nodes is in their setup.
That would be difficult for kmalloc because it cannot guarantee that
alignment nor avoid false sharing. For the BP case it's ok as
long as the beginning is correctly aligned and the rest
is read-only.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-09 00:45    [W:0.042 / U:0.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site