From: Ian Jackson Subject: Re: [PATCH 03/11] mini-os/xenbus: Add missing locks to xb_write Date: Mon, 30 Jun 2014 13:47:46 +0100 Message-ID: <21425.23666.682091.39002@mariner.uk.xensource.com> References: <1403291090-8657-1-git-send-email-ian.jackson@eu.citrix.com> <1403291090-8657-4-git-send-email-ian.jackson@eu.citrix.com> <20140626120407.GS6046@type.bordeaux.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X1azw-00047T-48 for xen-devel@lists.xenproject.org; Mon, 30 Jun 2014 12:47:52 +0000 In-Reply-To: <20140626120407.GS6046@type.bordeaux.inria.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Samuel Thibault Cc: xen-devel@lists.xenproject.org, Keir Fraser , Ian Campbell List-Id: xen-devel@lists.xenproject.org Thanks for your reviews. FYI this series has already been applied to the NetBSD rump kernels' fork of mini-os. I still intend to merge these together at some point, but as I say that won't be very soon. Samuel Thibault writes ("Re: [Xen-devel] [PATCH 03/11] mini-os/xenbus: Add = missing locks to xb_write"): > Ian Jackson, le Fri 20 Jun 2014 20:04:42 +0100, a =E9crit : > > xb_write was missing any locking against concurrent calls. > = > Well, yes, in its current form mini-os was not really meant to run with > multiple processors. There are probably quite other issues like that in > there. Right. My approach has been that as I'm looking at this code in detail and restructuring it, I ought to sort out the locking. It is much easier to add locking as one goes along when working on a piece of code, than to come along later and try to retrofit it. Thanks, Ian.