Thread (34 messages) 34 messages, 6 authors, 2021-06-25

Re: [PATCH 3/6] KVM: x86/mmu: avoid struct page in MMU

flat view

From: Paolo Bonzini <pbonzini@redhat.com>
Date: 2021-06-24 07:31:21
Also in: dri-devel, intel-gfx, kvm, kvmarm, linux-arm-kernel, linux-mips, lkml

On 24/06/21 05:57, David Stevens wrote:
quoted hunk ↗ jump to hunk
  static int __direct_map(struct kvm_vcpu *vcpu, gpa_t gpa, u32 error_code,
-			int map_writable, int max_level, kvm_pfn_t pfn,
+			int map_writable, int max_level,
+			const struct kvm_pfn_page *pfnpg,
  			bool prefault, bool is_tdp)
  {
  	bool nx_huge_page_workaround_enabled = is_nx_huge_pa
So the main difference with my tentative patches is that here I was passing the struct by value.  I'll try to clean this up for 5.15, but for now it's all good like this.  Thanks again!

Paolo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help