[PATCH] x86: GDT alignment fix
authorZachary Amsden <zach@vmware.com>
Fri, 6 Jan 2006 08:11:47 +0000 (00:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:33 +0000 (08:33 -0800)
commit7c4cb60e5b97677424e95baee9c29df54b26e6ba
treea2ad6e6104e153d15bc4bfbb67f74b0e05fea03c
parent599a6e8ca4ff7f453f847217ecc2718d68e3b0f6
[PATCH] x86: GDT alignment fix

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: Zachary Amsden <zach@vmware.com>
Cc: "Seth, Rohit" <rohit.seth@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/apm.c
arch/i386/kernel/cpu/common.c
arch/i386/kernel/head.S
arch/i386/kernel/i386_ksyms.c
arch/i386/kernel/smpboot.c
drivers/pnp/pnpbios/bioscalls.c
include/asm-i386/desc.h