From: annie li Subject: Re: [PATCH V2 1/2] xen/granttable: Support sub-page grants Date: Thu, 08 Dec 2011 21:46:50 +0800 Message-ID: <4EE0BFCA.7010208@oracle.com> References: <1323336940-5382-1-git-send-email-annie.li@oracle.com> <1323337048-5426-1-git-send-email-annie.li@oracle.com> <291EDFCB1E9E224A99088639C4762022B5988E5528@LONPMAILBOX01.citrite.net> <4EE08B0D.80504@oracle.com> <291EDFCB1E9E224A99088639C4762022B5988E552D@LONPMAILBOX01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <291EDFCB1E9E224A99088639C4762022B5988E552D@LONPMAILBOX01.citrite.net> Sender: linux-kernel-owner@vger.kernel.org To: Paul Durrant Cc: "xen-devel@lists.xensource.com" , "linux-kernel@vger.kernel.org" , "konrad.wilk@oracle.com" , "jeremy@goop.org" , Ian Campbell , "kurt.hackel@oracle.com" List-Id: xen-devel@lists.xenproject.org > > > I say let's be optimistic :-) Yes, there's more overhead in the failure case, but that's not what we should be optimising for. > >From positive side, it is OK. I agree with you since the failure case does not occurs frequently, the other goodness is the code style can keep identical with gnttab_grant_foreign_access and gnttab_grant_foreign_access_ref. thanks. Thanks Annie