diff options
author | David Matlack <[email protected]> | 2024-06-11 15:05:10 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-06-14 09:23:40 -0700 |
commit | e1c04f7a9f4213c56af5021b40bc00f527bffbae (patch) | |
tree | 3c913354cdacd1f838f084b3585222d49563d8da /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | cf3ff0ee24d6808d19dec6c9dedb5c7555bd8c55 (diff) |
KVM: x86/mmu: Hard code GFP flags for TDP MMU eager split allocations
Now that the GFP_NOWAIT case is gone, hard code GFP_KERNEL_ACCOUNT when
allocating shadow pages during eager page splitting in the TDP MMU.
Opportunistically replace use of __GFP_ZERO with allocations that zero
to improve readability.
No functional change intended.
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: David Matlack <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions