From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: Re: [PATCH 0/2] page track add notifier type track_flush_slot Date: Tue, 11 Oct 2016 10:43:52 +0800 Message-ID: <666d0e58-945c-b026-677a-db336bf1c913@linux.intel.com> References: <1475998904-13456-1-git-send-email-xiaoguang.chen@intel.com> <9c7b2357-9e36-1990-30a9-0442b6c337cf@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Paolo Bonzini , Xiaoguang Chen , kvm@vger.kernel.org, guangrong.xiao@intel.com, jike.song@intel.com Return-path: Received: from mga02.intel.com ([134.134.136.20]:27596 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753085AbcJKCux (ORCPT ); Mon, 10 Oct 2016 22:50:53 -0400 In-Reply-To: <9c7b2357-9e36-1990-30a9-0442b6c337cf@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 10/11/2016 01:06 AM, Paolo Bonzini wrote: > > > On 09/10/2016 09:41, Xiaoguang Chen wrote: >> The seires is to add a new notifer type track_flush_slot for page track. >> By using this notifer type when a memory slot is being moved or removed >> users of page track can be notified. >> >> This notifier type is needed by KVMGT to sync up its shadow page table >> when memory slot is being moved or removed. >> >> Xiaoguang Chen (2): >> KVM: page track: add a new notifier type: track_flush_slot >> KVM: MMU: apply page track notifier type track_flush_slot >> >> arch/x86/include/asm/kvm_page_track.h | 9 +++++++++ >> arch/x86/kvm/mmu.c | 7 +++++++ >> arch/x86/kvm/page_track.c | 25 +++++++++++++++++++++++++ >> arch/x86/kvm/x86.c | 2 +- >> 4 files changed, 42 insertions(+), 1 deletion(-) >> > > Hi, > > the two patches should be squashed for bisectability (alternatively, do > not remove the call to kvm_mmu_invalidate_zap_all_pages in patch 1, and > only drop it in patch 2). Indeed. Sorry for the carelessness, we will adapt these patches.