[kernel] r14155 - in dists/lenny/linux-2.6/debian: . patches/features/all/xen patches/series

Ben Hutchings benh at alioth.debian.org
Thu Aug 20 23:16:27 UTC 2009


Author: benh
Date: Thu Aug 20 23:16:25 2009
New Revision: 14155

Log:
xen: Fix crash in xen_spin_wait() on busy multiprocessor dom0 (Closes: #542250)

Added:
   dists/lenny/linux-2.6/debian/patches/features/all/xen/fix-xen-spin-wait.patch
   dists/lenny/linux-2.6/debian/patches/series/20
   dists/lenny/linux-2.6/debian/patches/series/20-extra
Modified:
   dists/lenny/linux-2.6/debian/changelog

Modified: dists/lenny/linux-2.6/debian/changelog
==============================================================================
--- dists/lenny/linux-2.6/debian/changelog	Thu Aug 20 21:03:58 2009	(r14154)
+++ dists/lenny/linux-2.6/debian/changelog	Thu Aug 20 23:16:25 2009	(r14155)
@@ -1,3 +1,11 @@
+linux-2.6 (2.6.26-20) UNRELEASED; urgency=low
+
+  [ Ben Hutchings ]
+  * xen: Fix crash in xen_spin_wait() on busy multiprocessor dom0
+    (Closes: #542250), thanks to Nikita V. Youshchenko <yoush at debian.org>
+
+ -- Ben Hutchings <ben at decadent.org.uk>  Fri, 21 Aug 2009 00:11:55 +0100
+
 linux-2.6 (2.6.26-19) stable; urgency=high
 
   [ Moritz Muehlenhoff ]

Added: dists/lenny/linux-2.6/debian/patches/features/all/xen/fix-xen-spin-wait.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/lenny/linux-2.6/debian/patches/features/all/xen/fix-xen-spin-wait.patch	Thu Aug 20 23:16:25 2009	(r14155)
@@ -0,0 +1,22 @@
+From: "Nikita V. Youshchenko" <yoush at debian.org>
+Subject: Re: Bug#542250: repeatable crashes while copying 500G from NFS mount to local logical volume
+
+> ... I may guess that line 74 should check for in_interrupt() instead of
+> in_softirq().
+
+I've tried that and it really fixed the problem. Server already runs the 
+same backup procedure for several hours. Previously it crashed within 15 
+minutes.
+
+Here is the patch I've applied:
+--- a/drivers/xen/core/spinlock.c       2009-08-19 16:20:17.000000000 +0400
++++ b/drivers/xen/core/spinlock.c       2009-08-19 17:36:55.000000000 +0400
+@@ -71,7 +71,7 @@
+ 			BUG_ON(__get_cpu_var(spinning_bh).lock == lock);
+ 			spinning = &__get_cpu_var(spinning_irq);
+ 		} else {
+-			BUG_ON(!in_softirq());
++			BUG_ON(!in_interrupt());
+ 			spinning = &__get_cpu_var(spinning_bh);
+ 		}
+ 		BUG_ON(spinning->lock);

Added: dists/lenny/linux-2.6/debian/patches/series/20
==============================================================================

Added: dists/lenny/linux-2.6/debian/patches/series/20-extra
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/lenny/linux-2.6/debian/patches/series/20-extra	Thu Aug 20 23:16:25 2009	(r14155)
@@ -0,0 +1 @@
++ features/all/xen/fix-xen-spin-wait.patch featureset=xen



More information about the Kernel-svn-changes mailing list