WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [RFC][PATCH] walking the page lists needs the page_alloc

To: Jan Beulich <JBeulich@xxxxxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC][PATCH] walking the page lists needs the page_alloc lock
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 13 Aug 2010 07:46:40 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 12 Aug 2010 23:47:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C6504F7020000780000FA8C@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acs6smMDZ30AlpdkTGma/UOuwrftEgAAOV6W
Thread-topic: [Xen-devel] [RFC][PATCH] walking the page lists needs the page_alloc lock
User-agent: Microsoft-Entourage/12.24.0.100205
On 13/08/2010 07:40, "Jan Beulich" <JBeulich@xxxxxxxxxx> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel