diff options
author | 2025-01-10 16:29:50 -0800 | |
---|---|---|
committer | 2025-02-12 09:00:55 -0800 | |
commit | f2228aa083240f44794c3617d4a22134ab26217c (patch) | |
tree | 7b3fe49d3935d016b73624ce31ec2214fe4bf369 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | KVM: selftests: Precisely track number of dirty/clear pages for each iteration (diff) | |
download | wireguard-linux-f2228aa083240f44794c3617d4a22134ab26217c.tar.xz wireguard-linux-f2228aa083240f44794c3617d4a22134ab26217c.zip |
KVM: selftests: Read per-page value into local var when verifying dirty_log_test
Cache the page's value during verification in a local variable, re-reading
from the pointer is ugly and error prone, e.g. allows for bugs like
checking the pointer itself instead of the value.
No functional change intended.
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20250111003004.1235645-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions