From: "Jan Beulich" Subject: Re: [PATCH] make c/s 21089 work again with c/s 21092 Date: Wed, 14 Apr 2010 08:41:52 +0100 Message-ID: <4BC57FD1020000780005C49D@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: 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: waldi@debian.org Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> Bastian Blank 04/14/10 9:16 AM >>> >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. It seems cleaner to do proper locking here, even though I too think it's = not strictly needed. Jan