diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-12-11 08:42:28 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-12-11 08:42:28 +0000 |
commit | ef9550e2e2f3d682155f9c236c94c254f3369686 (patch) | |
tree | 461c11eba3f5bdd42e6d316573c3fbd3648e05c4 /stubdom/grub.patches | |
parent | b6d4a6d487c1aed0d53ffa3b969f82a5d0b50201 (diff) | |
download | xen-ef9550e2e2f3d682155f9c236c94c254f3369686.tar.gz xen-ef9550e2e2f3d682155f9c236c94c254f3369686.tar.bz2 xen-ef9550e2e2f3d682155f9c236c94c254f3369686.zip |
PoD: appropriate BUG_ON when domain is dying
BUG_ON(d->is_dying) in p2m_pod_cache_add() which is introduced in
c/s 20426 is not proper. Since dom->is_dying is set asynchronously.
For example, MMU_UPDATE hypercalls from qemu and the
DOMCTL_destroydomain hypercall from xend can be issued simultaneously.
Also this patch lets p2m_pod_empty_cache() wait by spin_barrier
until another PoD operation ceases.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
Diffstat (limited to 'stubdom/grub.patches')
0 files changed, 0 insertions, 0 deletions