[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On 13/08/2010 08:06, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

>>> 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.
> 
> Hmm, indeed. I was looking at others, and at least
> domain_dump_evtchn_info() also uses a trylock - apparently for
> no good reason.

Well, since you wrote that function, would you like me to switch
domain_dump_evtchn_info() to do a proper spin_lock()?

 -- Keir



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.