Re: [PATCH 1/8] x86/mm/pat: cpa-test: fix length for CPA_ARRAY test
From: Peter Zijlstra
Date: Fri Jan 03 2025 - 06:20:40 EST
On Fri, Dec 27, 2024 at 09:28:18AM +0200, Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)" <rppt@xxxxxxxxxx>
>
> 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.
D'oh..