WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [linux-2.6.18-xen] [IA64] Prevent softlockup when destro

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] [IA64] Prevent softlockup when destroying VTi domain
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 31 Oct 2007 15:00:23 -0700
Delivery-date: Wed, 31 Oct 2007 15:01:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] [IA64] Prevent softlockup when destroying VTi domain, Xen patchbot-linux-2.6.18-xen <=