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