diff options
author | Yury Norov <[email protected]> | 2022-05-09 18:54:23 -0700 |
---|---|---|
committer | Yury Norov <[email protected]> | 2022-06-03 06:52:58 -0700 |
commit | d603fd8dd35f6028bb09cd2e9ec6557c4bc0dd95 (patch) | |
tree | 5d7edcbea05827bd1852cedc90a8d6efbaf4dd60 /tools/perf/scripts/python/task-analyzer.py | |
parent | a7ef9b455c7ca8f07a5b4bd967a3c39c7434d43f (diff) |
KVM: x86: hyper-v: replace bitmap_weight() with hweight64()
kvm_hv_flush_tlb() applies bitmap API to a u64 variable valid_bank_mask.
Since valid_bank_mask has a fixed size, we can use hweight64() and avoid
excessive bloating.
CC: Borislav Petkov <[email protected]>
CC: Dave Hansen <[email protected]>
CC: H. Peter Anvin <[email protected]>
CC: Ingo Molnar <[email protected]>
CC: Jim Mattson <[email protected]>
CC: Joerg Roedel <[email protected]>
CC: Paolo Bonzini <[email protected]>
CC: Sean Christopherson <[email protected]>
CC: Thomas Gleixner <[email protected]>
CC: Vitaly Kuznetsov <[email protected]>
CC: Wanpeng Li <[email protected]>
CC: [email protected]
CC: [email protected]
CC: [email protected]
Acked-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Yury Norov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions