]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: x86/mmu: Refactor TDP MMU iter need resched check
authorSean Christopherson <seanjc@google.com>
Thu, 31 Oct 2024 00:00:23 +0000 (17:00 -0700)
committerSean Christopherson <seanjc@google.com>
Tue, 5 Nov 2024 02:37:21 +0000 (18:37 -0800)
commitdd2e7dbc4ae2497cd6eea2d7003fe60039ebae50
tree1b548324270925adef64e740221baa4f834a6d0d
parent38b0ac47169b981bd40226f16f17d8a098c81309
KVM: x86/mmu: Refactor TDP MMU iter need resched check

Refactor the TDP MMU iterator "need resched" checks into a helper
function so they can be called from a different code path in a
subsequent commit.

No functional change intended.

Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20240823235648.3236880-4-dmatlack@google.com
[sean: rebase on a swapped order of checks]
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/mmu/tdp_mmu.c