diff options
author | Sean Christopherson <[email protected]> | 2022-11-29 17:52:59 +0000 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2022-12-01 15:31:32 -0800 |
commit | a33004e844e4c60da86ecf8c249aab7179817fce (patch) | |
tree | ab8952be84f464b0a90fc95219a150fa7c109a40 /scripts/gdb/linux | |
parent | df0bb47baa95aad133820b149851d5b94cbc6790 (diff) |
KVM: selftests: Fix inverted "warning" in access tracking perf test
Warn if the number of idle pages is greater than or equal to 10% of the
total number of pages, not if the percentage of idle pages is less than
10%. The original code asserted that less than 10% of pages were still
idle, but the check got inverted when the assert was converted to a
warning.
Opportunistically clean up the warning; selftests are 64-bit only, there
is no need to use "%PRIu64" instead of "%lu".
Fixes: 6336a810db5c ("KVM: selftests: replace assertion with warning in access_tracking_perf_test")
Reviewed-by: Emanuele Giuseppe Esposito <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions