[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6d9d6ad1-71cc-47f2-b7a8-d61f5ecdfa55@davidwei.uk>
Date: Thu, 24 Apr 2025 11:09:59 -0700
From: David Wei <dw@...idwei.uk>
To: Simon Horman <horms@...nel.org>, Haiyue Wang <haiyuewa@....com>
Cc: io-uring@...r.kernel.org, Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Shuah Khan <shuah@...nel.org>, Jens Axboe <axboe@...nel.dk>,
"open list:NETWORKING DRIVERS" <netdev@...r.kernel.org>,
"open list:KERNEL SELFTEST FRAMEWORK" <linux-kselftest@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1] selftests: iou-zcrx: Get the page size at runtime
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@....com>
>
> Reviewed-by: Simon Horman <horms@...nel.org>
>
Thanks Simon. I'll apply the patch and run the selftest to make sure it
still works.
Powered by blists - more mailing lists