Re: [PATCH v1] selftests: iou-zcrx: Get the page size at runtime

From: David Wei
Date: Thu Apr 24 2025 - 14:10:12 EST


On 2025-04-24 06:55, Simon Horman wrote:
> On Sat, Apr 19, 2025 at 10:10:15PM +0800, Haiyue Wang wrote:
>> Use the API `sysconf()` to query page size at runtime, instead of using
>> hard code number 4096.
>>
>> And use `posix_memalign` to allocate the page size aligned momory.
>>
>> Signed-off-by: Haiyue Wang <haiyuewa@xxxxxxx>
>
> Reviewed-by: Simon Horman <horms@xxxxxxxxxx>
>

Thanks Simon. I'll apply the patch and run the selftest to make sure it
still works.