[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250424135559.GG3042781@horms.kernel.org>
Date: Thu, 24 Apr 2025 14:55:59 +0100
From: Simon Horman <horms@...nel.org>
To: 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>, David Wei <dw@...idwei.uk>,
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 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>
Powered by blists - more mailing lists