diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-09-23 11:37:34 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-28 07:57:43 -0400 |
commit | dcc7065170d7018d9db1748d04026b2f4ce664dd (patch) | |
tree | 174004daa2267b2d3cfe41d4b2a79228f4c19ca1 /lib/dump_stack.c | |
parent | 1d4a7372e149914095e489ada0e64395bbcc8483 (diff) | |
download | lwn-dcc7065170d7018d9db1748d04026b2f4ce664dd.tar.gz lwn-dcc7065170d7018d9db1748d04026b2f4ce664dd.zip |
KVM: x86/mmu: Hoist ITLB multi-hit workaround check up a level
Move the "ITLB multi-hit workaround enabled" check into the callers of
disallowed_hugepage_adjust() to make it more obvious that the helper is
specific to the workaround, and to be consistent with the accounting,
i.e. account_huge_nx_page() is called if and only if the workaround is
enabled.
No functional change intended.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200923183735.584-8-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions