From: "Jan Beulich" Subject: Re: [PATCH] libxc: implement gnttab.set_max_grants for Linux Date: Fri, 11 May 2012 09:09:22 +0100 Message-ID: <4FACE5520200007800082F61@nat28.tlf.novell.com> References: <4FACDA880200007800082F18@nat28.tlf.novell.com> <1336723376.23818.4.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1336723376.23818.4.camel@zakaz.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 11.05.12 at 10:02, Ian Campbell wrote: > On Fri, 2012-05-11 at 08:23 +0100, Jan Beulich wrote: >> + /* >> + * Newer (e.g. pv-ops) kernels don't implement this IOCTL, >> + * so ignore the resulting specific failure. >> + */ > > pvops doesn't implement this ioctl because it is already more dynamic > and therefore setting a max unnecessary? > > (I'm pretty sure yes, but just wanted to confirm we shouldn't be fixing > anything on the pvops side). Correct. The only adjustment I would consider worth doing is to accept the unnecessary ioctl without producing an error or logging any message (perhaps one could in fact return an error for insanely high input values). Jan