diff options
author | 2015-11-20 17:43:13 +0900 | |
---|---|---|
committer | 2015-11-25 17:26:15 +0100 | |
commit | fd9514572f721acbabb0ff24f6b5294a2449d492 (patch) | |
tree | 77462fd96a52b6ebdf87a849156a59d1d4f2f7e3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: MMU: Remove unused parameter of __direct_map() (diff) | |
download | wireguard-linux-fd9514572f721acbabb0ff24f6b5294a2449d492.tar.xz wireguard-linux-fd9514572f721acbabb0ff24f6b5294a2449d492.zip |
KVM: x86: MMU: Add helper function to clear a bit in unsync child bitmap
Both __mmu_unsync_walk() and mmu_pages_clear_parents() have three line
code which clears a bit in the unsync child bitmap; the former places it
inside a loop block and uses a few goto statements to jump to it.
A new helper function, clear_unsync_child_bit(), makes the code cleaner.
Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions