]> err.no Git - linux-2.6/commit
xen: Place vcpu_info structure into per-cpu memory
authorJeremy Fitzhardinge <jeremy@xensource.com>
Wed, 18 Jul 2007 01:37:07 +0000 (18:37 -0700)
committerJeremy Fitzhardinge <jeremy@goop.org>
Wed, 18 Jul 2007 15:47:45 +0000 (08:47 -0700)
commit60223a326fc8fa6e90e2c3fd28ae6de4a311d731
treecf4e667a56402b846488373bfaf5bf840395e219
parent3e2b8fbeec8f005672f2a2e862fb9c26a0bafedc
xen: Place vcpu_info structure into per-cpu memory

An experimental patch for Xen allows guests to place their vcpu_info
structs anywhere.  We try to use this to place the vcpu_info into the
PDA, which allows direct access.

If this works, then switch to using direct access operations for
irq_enable, disable, save_fl and restore_fl.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: Keir Fraser <keir@xensource.com>
arch/i386/xen/enlighten.c
arch/i386/xen/setup.c
arch/i386/xen/smp.c
arch/i386/xen/xen-ops.h
include/xen/interface/vcpu.h