diff options
| author | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2025-01-26 10:47:25 +0300 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2025-02-03 13:46:01 +0300 |
| commit | 33ea120582a638b2f2e380a50686c2b1d7cce795 (patch) | |
| tree | c5b326bc283c22556017c1142d6c26c720c2823d /tools/perf/scripts/python/gecko.py | |
| parent | 2014c95afecee3e76ca4a56956a936e23283f05b (diff) | |
| download | linux-33ea120582a638b2f2e380a50686c2b1d7cce795.tar.xz | |
x86/mm/pat: cpa-test: fix length for CPA_ARRAY test
The CPA_ARRAY test always uses len[1] as numpages argument to
change_page_attr_set() although the addresses array is different each
iteration of the test loop.
Replace len[1] with len[i] to have numpages matching the addresses array.
Fixes: ecc729f1f471 ("x86/mm/cpa: Add ARRAY and PAGES_ARRAY selftests")
Signed-off-by: "Mike Rapoport (Microsoft)" <rppt@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250126074733.1384926-2-rppt@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
