Searched hist:b007e904 (Results 1 - 1 of 1) sorted by relevance

/linux-master/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.cdiff b007e904 Tue Jun 22 14:05:27 MDT 2021 Sean Christopherson <seanjc@google.com> KVM: selftests: Genericize upper level page table entry struct

In preparation for adding hugepage support, replace "pageMapL4Entry",
"pageDirectoryPointerEntry", and "pageDirectoryEntry" with a common
"pageUpperEntry", and add a helper to create an upper level entry. All
upper level entries have the same layout, using unique structs provides
minimal value and requires a non-trivial amount of code duplication.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622200529.3650424-18-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Completed in 174 milliseconds