From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH net-next v5 1/9] xen-netback: Introduce TX grant map definitions Date: Tue, 18 Feb 2014 17:24:46 +0000 Message-ID: <1392744286.23084.52.camel@kazak.uk.xensource.com> References: <1390253069-25507-1-git-send-email-zoltan.kiss@citrix.com> <1390253069-25507-2-git-send-email-zoltan.kiss@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: , , , , To: Zoltan Kiss Return-path: In-Reply-To: <1390253069-25507-2-git-send-email-zoltan.kiss@citrix.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Mon, 2014-01-20 at 21:24 +0000, Zoltan Kiss wrote: > > + spinlock_t dealloc_lock; > + spinlock_t response_lock; Please add comments to both of these describing what bits of the datastructure they are locking. You might find it is clearer to group the locks and the things they protect together rather than grouping the locks together. Ian.