From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: Re: [PATCH v2 05/16] KVM: MMU: abstract spte write-protect Date: Mon, 16 Apr 2012 11:27:44 +0800 Message-ID: <4F8B91B0.4000601@linux.vnet.ibm.com> References: <4F87FA69.5060106@linux.vnet.ibm.com> <4F87FBE1.200@linux.vnet.ibm.com> <20120414112635.0940cc4628320821a88646fc@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Avi Kivity , Marcelo Tosatti , LKML , KVM To: Takuya Yoshikawa Return-path: Received: from e28smtp05.in.ibm.com ([122.248.162.5]:34423 "EHLO e28smtp05.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751249Ab2DPD1w (ORCPT ); Sun, 15 Apr 2012 23:27:52 -0400 Received: from /spool/local by e28smtp05.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 16 Apr 2012 08:57:47 +0530 In-Reply-To: <20120414112635.0940cc4628320821a88646fc@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On 04/14/2012 10:26 AM, Takuya Yoshikawa wrote: > On Fri, 13 Apr 2012 18:11:45 +0800 > Xiao Guangrong wrote: > >> +/* Return true if the spte is dropped. */ > > Return value does not correspond with the function name so it is confusing. > That is why i put comment here. > People may think that true means write protection has been done. > You have a better name?