]> git.baikalelectronics.ru Git - kernel.git/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)
commitad79da4d62ebcbd4a169ecf51de02b032452cd73
treecf4e667a56402b846488373bfaf5bf840395e219
parent55390c51893123e7ff6a3fa65ceea464e73e0858
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