[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] [IA64] Prevent softlockup when destroying VTi domain



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1193156580 21600
# Node ID 32df30e24087e1d8dd0b5de78f8b5c2713dfdf42
# Parent  8a30e505c2a3c87b2e2e2c65ac8a0341386eff8e
[IA64] Prevent softlockup when destroying VTi domain

Prevent soft lock up when unmapping foreign domain pages
add cond_resched() to unmapping loop.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 arch/ia64/xen/hypervisor.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 8a30e505c2a3 -r 32df30e24087 arch/ia64/xen/hypervisor.c
--- a/arch/ia64/xen/hypervisor.c        Mon Oct 22 13:57:37 2007 -0600
+++ b/arch/ia64/xen/hypervisor.c        Tue Oct 23 10:23:00 2007 -0600
@@ -762,6 +762,7 @@ xen_ia64_privcmd_vma_close(struct vm_are
 
        for (i = 0; i < privcmd_vma->num_entries; i++) {
                xen_ia64_privcmd_entry_close(privcmd_range, entry_offset + i);
+               cond_resched();
        }
        vma->vm_private_data = NULL;
        kfree(privcmd_vma);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.