From: "Jan Beulich" Subject: RE: cpuidle causing Dom0 soft lockups Date: Wed, 03 Feb 2010 10:23:34 +0000 Message-ID: <4B695CB6020000780002D722@vpn.id2.novell.com> References: <4B58402E020000780002B3FE@vpn.id2.novell.com> <4B67E85E020000780002D1A0@vpn.id2.novell.com> <8B81FACE836F9248894A7844CC0BA814250B940CFF@shzsmsx501.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <8B81FACE836F9248894A7844CC0BA814250B940CFF@shzsmsx501.ccr.corp.intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ke Yu Cc: "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> "Yu, Ke" 03.02.10 08:32 >>> >Could you please try the attached patch. this patch try to avoid entering = deep C state when there is vCPU local irq disabled, and polling event = channel. When tested in my 64 CPU box, this issue is gone with this patch. We could try it, but I'm not convinced of the approach. Why is the urgent determination dependent upon event delivery being disabled on the respective vCPU? If at all, it should imo be polling *or* event delivery disabled, not *and*. Also, iterating over all vCPU-s in that function doesn't seem very scalable. It would seem more reasonable for the scheduler to track how many "urgent" vCPU-s a pCPU currently has. Jan