• 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
    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>