• Zachary Amsden's avatar
    [PATCH] x86: GDT alignment fix · 7c4cb60e
    Zachary Amsden authored
    Make GDT page aligned and page padded to support running inside of a
    hypervisor.  This prevents false sharing of the GDT page with other hot
    data, which is not allowed in Xen, and causes performance problems in
    VMware.
    
    Rather than go back to the old method of statically allocating the GDT
    (which wastes unneded space for non-present CPUs), the GDT for APs is
    allocated dynamically.
    Signed-off-by: default avatarZachary Amsden <zach@vmware.com>
    Cc: "Seth, Rohit" <rohit.seth@intel.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    7c4cb60e
i386_ksyms.c 847 Bytes