ia64/xen-unstable

view xen/common/compat/kexec.c @ 17062:0769835cf50f

x86 shadow: Reduce scope of shadow lock.

emulate_map_dest doesn't require holding lock, since
only shadow related operation possibly involved is to
remove shadow which is less frequent and can acquire
lock inside. Rest are either guest table walk or
per-vcpu monitor table manipulation

Signed-off-by Kevin Tian <kevin.tian@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Feb 14 10:33:12 2008 +0000 (2008-02-14)
parents b8eeb4537e09
children 90ae3dfdd3cc
line source
1 /*
2 * compat/kexec.c
3 */
5 #include <compat/kexec.h>
7 #define COMPAT
8 #define ret_t int
10 #define do_kexec_op compat_kexec_op
12 #undef kexec_get
13 #define kexec_get(x) compat_kexec_get_##x
14 #define xen_kexec_range compat_kexec_range
15 #define xen_kexec_range_t compat_kexec_range_t
17 #define kexec_load_unload compat_kexec_load_unload
18 #define xen_kexec_load compat_kexec_load
19 #define xen_kexec_load_t compat_kexec_load_t
21 CHECK_kexec_exec;
23 #include "../kexec.c"
25 /*
26 * Local variables:
27 * mode: C
28 * c-set-style: "BSD"
29 * c-basic-offset: 4
30 * tab-width: 4
31 * indent-tabs-mode: nil
32 * End:
33 */