From: Tim Deegan Subject: Re: [xen-unstable test] 6374: regressions - FAIL Date: Mon, 14 Mar 2011 16:17:40 +0000 Message-ID: <20110314161740.GH24523@whitby.uk.xensource.com> References: <19834.24888.630582.491364@mariner.uk.xensource.com> <20110314100223.GE24523@whitby.uk.xensource.com> <4D7DFE76020000780003634E@vpn.id2.novell.com> <20110314105228.GF24523@whitby.uk.xensource.com> <4D7E4B9502000078000365D2@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: <4D7E4B9502000078000365D2@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: George Dunlap , "xen-devel@lists.xensource.com" , Ian Jackson List-Id: xen-devel@lists.xenproject.org At 16:08 +0000 on 14 Mar (1300118917), Jan Beulich wrote: > Actually, while I don't think that this can happen, something else is > definitely broken here: The logic can select a CPU that's not in the > vCPU's affinity mask. How I managed to not note this when I > originally put this change together I can't tell. I'll send a patch in > a moment, and I think after that patch it's also easier to see that > each iteration will remove at least one bit. Yes, as long as the cpu selected has to be in "cpus", the loop is definitely safe. > Sure. Just that this code has been there for quite a long time, and > it would be really strange to only now see it start producing hangs > (which apparently aren't that difficult to reproduce - iirc a similar > one was sent around by Ian a few days earlier). Agreed; the other branch of this thread is clerly where this particular hang is coming from. Cheers, Tim. -- Tim Deegan Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)