]> xenbits.xensource.com Git - xen.git/commit
x86/mm: Make {hap, shadow}_teardown() preemptible
authorAnshul Makkar <anshul.makkar@citrix.com>
Thu, 10 Sep 2015 13:55:23 +0000 (15:55 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 10 Sep 2015 13:55:23 +0000 (15:55 +0200)
commite19042ffbdf07e217c827eb0f722be5fe1623ea3
tree9fecf6c60cdc27be53741dd3fb4a8374d8535502
parentcfb5d2001784dfdec638ba335fd9252f5833ee2d
x86/mm: Make {hap, shadow}_teardown() preemptible

A domain with sufficient shadow allocation can cause a watchdog timeout
during domain destruction.  Expand the existing -EAGAIN logic in
paging_teardown() to allow {hap/sh}_set_allocation() to become
restartable during the DOMCTL_destroydomain hypercall.

Signed-off-by: Anshul Makkar <anshul.makkar@citrix.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Tim Deegan <tim@xen.org>
Reviewed-by: George Dunlap <george.dunlap@eu.citrix.com>
master commit: 0174da5b79752e2d5d6ca0faed89536e8f3d91c7
master date: 2015-08-06 10:04:43 +0100
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/paging.c
xen/arch/x86/mm/shadow/common.c
xen/include/asm-x86/hap.h
xen/include/asm-x86/shadow.h