diff options
| author | Sean Christopherson <[email protected]> | 2021-09-01 22:10:23 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-09-06 10:20:05 +0000 |
| commit | 1148bfc47be3f885a10945ecbc1e3789a0313603 (patch) | |
| tree | 36f8aa4b5f9b9615d5f85f41f51f68033dfe7399 /lib/test_printf.c | |
| parent | KVM: x86/mmu: Relocate kvm_mmu_page.tdp_mmu_page for better cache locality (diff) | |
| download | kernel-1148bfc47be3f885a10945ecbc1e3789a0313603.tar.gz kernel-1148bfc47be3f885a10945ecbc1e3789a0313603.zip | |
KVM: x86/mmu: Move lpage_disallowed_link further "down" in kvm_mmu_page
Move "lpage_disallowed_link" out of the first 64 bytes, i.e. out of the
first cache line, of kvm_mmu_page so that "spt" and to a lesser extent
"gfns" land in the first cache line. "lpage_disallowed_link" is accessed
relatively infrequently compared to "spt", which is accessed any time KVM
is walking and/or manipulating the shadow page tables.
No functional change intended.
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/test_printf.c')
0 files changed, 0 insertions, 0 deletions
