From: Avi Kivity Subject: [PATCH 0/2] Simplify RCU freeing of shadow pages Date: Thu, 19 Apr 2012 19:26:35 +0300 Message-ID: <1334852797-28167-1-git-send-email-avi@redhat.com> To: kvm@vger.kernel.org, Marcelo Tosatti , Xiao Guangrong Return-path: Received: from mx1.redhat.com ([209.132.183.28]:13260 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755850Ab2DSQ0o (ORCPT ); Thu, 19 Apr 2012 12:26:44 -0400 Sender: kvm-owner@vger.kernel.org List-ID: This patchset simplifies the freeing by RCU of mmu pages. Xiao, I'm sure you thought of always freeing by RCU. Why didn't you choose this way? I saves a couple of atomics in the fast path. Avi Kivity (2): KVM: MMU: Always free shadow pages using RCU KVM: MMU: Recover space used by rcu_head in struct kvm_mmu_page arch/x86/include/asm/kvm_host.h | 9 +++--- arch/x86/kvm/mmu.c | 58 ++++++++------------------------------- 2 files changed, 15 insertions(+), 52 deletions(-) -- 1.7.10