From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v2 1/6] gnttab: eliminate several explicit version checks Date: Tue, 16 Jun 2015 09:43:40 +0100 Message-ID: <1434444220.13744.48.camel@citrix.com> References: <557EDDDD0200007800084C94@mail.emea.novell.com> <557EE0270200007800084CB4@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z4mTE-00029X-Tw for xen-devel@lists.xenproject.org; Tue, 16 Jun 2015 08:43:49 +0000 In-Reply-To: <557EE0270200007800084CB4@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel , Keir Fraser , Ian Jackson , Tim Deegan List-Id: xen-devel@lists.xenproject.org On Mon, 2015-06-15 at 13:24 +0100, Jan Beulich wrote: > By having nr_grant_entries() return zero when the grant table version > is still unset we can reduce the number of error paths and at once fix > grant_map_exists() running into the being removed ASSERT() when called > for a page owned by a domain not having its grant table set up yet. > > Signed-off-by: Jan Beulich Aced-by: Ian Campbell