diff options
author | 2025-04-19 22:10:15 +0800 | |
---|---|---|
committer | 2025-04-24 16:29:47 -0700 | |
commit | df8cf32413fa487313eb799f28f87a543480cfa0 (patch) | |
tree | b02e7e7da6de122e34967c472882f0840a9f2f64 /tools/perf/scripts/python/parallel-perf.py | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
download | wireguard-linux-df8cf32413fa487313eb799f28f87a543480cfa0.tar.xz wireguard-linux-df8cf32413fa487313eb799f28f87a543480cfa0.zip |
selftests: iou-zcrx: Get the page size at runtime
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@163.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: David Wei <dw@davidwei.uk>
Link: https://patch.msgid.link/20250419141044.10304-1-haiyuewa@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions