Skip to content

Simplify RCU freeing of shadow pages

Avi Kivity kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: MMU: Always free shadow pages using RCUarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c+9 -390 replies
2/2KVM: MMU: Recover space used by rcu_head in struct kvm_mmu_pagearch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c+13 -200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Simplify RCU freeing of shadow pages

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(-)
Signature · 1 line
1.7.10