From: Tim Deegan Subject: Re: [PATCH 2 of 5] xenpaging: map gfn before nomination Date: Wed, 7 Dec 2011 12:58:05 +0000 Message-ID: <20111207125805.GG31448@ocelot.phlegethon.org> References: <78bcef1bbb35c6176c138c1a6089f034.squirrel@webmail.lagarcavilla.org> <20111207092737.GA24563@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20111207092737.GA24563@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Olaf Hering Cc: xen-devel@lists.xensource.com, Andres Lagar-Cavilla List-Id: xen-devel@lists.xenproject.org At 10:27 +0100 on 07 Dec (1323253657), Olaf Hering wrote: > On Tue, Dec 06, Andres Lagar-Cavilla wrote: > > > Ouch! You're absolutely tying the user space pager with the underlying xen > > paging code. Most of your patches change the tools and the hypervisor in > > lockstep. > > Yes, pager and hypervisor are bound closely together. > > > Patch 4 in your series is one such case. Short-cutting the state machine: > > great. But what is the gain for the hypervisor in *not* sending the > > EVICT_FAIL event. It's a good thing. It keeps the same interface to > > user-space. Xenpaging may not need it, but the Xen paging code does not > > exist solely for xenpaging. > > What IS the need to send yet another request? It adds just overhead for > no obvious need. Please show the code that will benefit from the extra > EVICT_FAIL message. While in general it's good to keep backward compatibility, I don't think this interface has ever had a stable, usable release (that didn't involve the consumer at least carrying hypervisor patches of their own) so I think it's OK to make fairly large changes in it. Tim.