From: Keir Fraser Subject: Re: /proc/xen/xenbus supports watch? Date: Mon, 26 Sep 2005 08:33:38 +0100 Message-ID: <3bcbf30f70030e70898daff6227b3d80@cl.cam.ac.uk> References: <1127214064.2656.45.camel@localhost.localdomain> <152436486e4a36af94a87ad6d40a768e@cl.cam.ac.uk> <1127354853.7567.6.camel@localhost.localdomain> <1127429689.2722.2.camel@localhost.localdomain> <785f15905bfe17d87d6bd0eb878cc166@cl.cam.ac.uk> <1127618982.796.71.camel@localhost.localdomain> <39daa0554066842da8701a90d9f01386@cl.cam.ac.uk> <4318f53c57216e19ba81c096b4a0c849@cl.cam.ac.uk> <20050925185529.GW9610@cl.cam.ac.uk> <1127716571.9596.50.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1127716571.9596.50.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Rusty Russell Cc: xen-devel List , Christian Limpach List-Id: xen-devel@lists.xenproject.org On 26 Sep 2005, at 07:36, Rusty Russell wrote: >> Since we >> need to add some kind of transaction identifier to the interface >> to support this, we should make this change now. > > Or, alternately, since we don't need it, we shouldn't. Holding xenbus_lock even across kernel transactions is undesirable if we can avoid it, I think. Remind me again why mux/demux is harder or more code than spawning multiple pages per domain? Both approaches require extra code to be written after all, and it's not clear to me that the extra code required in xenstored for mux/demux is very much or particularly tricky to write. -- Keir