Skip to content

kvm: x86/mmu: Skip adding write-access for spte in FNAME(sync_page) and remove shadow_host_writable_mask

Lai Jiangshan kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kvm: x86/mmu: Reduce the update to the spte in FNAME(sync_page)arch/x86/kvm/mmu/paging_tmpl.h+18 -14 replies
2/2kvm: x86/mmu: Remove useless shadow_host_writable_maskarch/x86/kvm/mmu/paging_tmpl.h arch/x86/kvm/mmu/spte.c arch/x86/kvm/mmu/spte.h+19 -340 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] kvm: x86/mmu: Skip adding write-access for spte in FNAME(sync_page) and remove shadow_host_writable_mask

From: Lai Jiangshan <[email protected]>

shadow_host_writable_mask is used only in FNAME(sync_page) for adding write-access for spte which can be added in later page fault.

Skip adding it and save a bit from spte.

Lai Jiangshan (2):
kvm: x86/mmu: Reduce the update to the spte in FNAME(sync_page)
kvm: x86/mmu: Remove useless shadow_host_writable_mask

 arch/x86/kvm/mmu/paging_tmpl.h | 26 +++++++++++++++++++++--
 arch/x86/kvm/mmu/spte.c        |  8 +------
 arch/x86/kvm/mmu/spte.h        | 38 +++++++++++-----------------------
 3 files changed, 37 insertions(+), 35 deletions(-)
Signature · 1 line
2.19.1.6.gb485710b