From: Bastian Blank Subject: Re: [PATCH] make c/s 21089 work again with c/s 21092 Date: Wed, 14 Apr 2010 09:15:45 +0200 Message-ID: <20100414071545.GA20980@wavehammer.waldi.eu.org> References: <4BC48F97020000780003A003@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <4BC48F97020000780003A003@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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, Apr 13, 2010 at 02:36:55PM +0100, Jan Beulich wrote: > + spin_lock_irqsave(&desc->lock, flags); Why do you lock here? The whole thing is racy anyway and this should only battle against concurent registrations from dom0. Bastian -- It is a human characteristic to love little animals, especially if they're attractive in some way. -- McCoy, "The Trouble with Tribbles", stardate 4525.6