From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [RFC][PATCH] walking the page lists needs the page_alloc lock Date: Fri, 13 Aug 2010 08:06:31 +0100 Message-ID: <4C650B17020000780000FAA2@vpn.id2.novell.com> References: <4C6504F7020000780000FA8C@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: 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: Keir Fraser Cc: Tim Deegan , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> On 13.08.10 at 08:46, Keir Fraser wrote: > On 13/08/2010 07:40, "Jan Beulich" wrote: >=20 >>> Sorry, my intention was to say that changes to the debug-key printouts >>> are safe, not that they didn't require changes. >>>=20 >>> The debug-key printouts (in particular the NUMA one) are where I >>> actually hit this bug on a running system. >>=20 >> But then, to avoid a hanging system, these should be trylock-s >> rather than plain locks, shouldn't they? >=20 > Why? The handler is called in softirq context. It should be safe to = spin. Hmm, indeed. I was looking at others, and at least domain_dump_evtchn_info() also uses a trylock - apparently for no good reason. Jan