aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorBen Gardon <[email protected]>2021-04-01 16:37:28 -0700
committerPaolo Bonzini <[email protected]>2021-04-19 09:05:24 -0400
commitcfc109979b3c879ea9df05e048bb83615964f3e3 (patch)
tree73889cddaca2d8136fb590f85a458ca527632ba4 /tools/perf/scripts/python/bin
parent2bdb3d84cebca2e3b482788615ff1559bc8cedb5 (diff)
KVM: x86/mmu: Refactor yield safe root iterator
Refactor the yield safe TDP MMU root iterator to be more amenable to changes in future commits which will allow it to be used under the MMU lock in read mode. Currently the iterator requires a complicated dance between the helper functions and different parts of the for loop which makes it hard to reason about. Moving all the logic into a single function simplifies the iterator substantially. Signed-off-by: Ben Gardon <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions