diff options
author | Sean Christopherson <seanjc@google.com> | 2025-01-10 16:29:50 -0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-02-12 09:00:55 -0800 |
commit | f2228aa083240f44794c3617d4a22134ab26217c (patch) | |
tree | 7b3fe49d3935d016b73624ce31ec2214fe4bf369 /tools/perf/scripts/python/task-analyzer.py | |
parent | af2d85d34d158c4ab49e1d41c19a100ee83c148a (diff) |
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions