From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 5/7] KVM: MMU: remove the arithmetic of parent pte rmap Date: Sun, 15 May 2011 11:23:07 +0300 Message-ID: <4DCF8D6B.9080905@redhat.com> References: <4DCEF5B1.3050706@cn.fujitsu.com> <4DCEF7C2.401@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , LKML , KVM To: Xiao Guangrong Return-path: In-Reply-To: <4DCEF7C2.401@cn.fujitsu.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 05/15/2011 12:44 AM, Xiao Guangrong wrote: > Parent pte rmap and page rmap are very similar, so use the same arithmetic for > them > While they're similar, this is going to cause a lot of confusion because the name 'rmap' already has a deep meaning, at least for me. Maybe we can call the abstract structure 'spte_list' and define operations on that, then implement rmap_* and *_parent_pte as wrappers around spte_list. -- error compiling committee.c: too many arguments to function