summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2025-02-13 14:34:18 +0300
committerMiguel Ojeda <ojeda@kernel.org>2025-03-06 01:57:48 +0300
commitff64846bee0e7e3e7bc9363ebad3bab42dd27e24 (patch)
tree6c4e0a668c447fb02162e19b1ef410f4fa7b4c65 /tools/perf/scripts/python/syscall-counts.py
parentdf27cef153603b18a7d094b53cc3d5264ff32797 (diff)
downloadlinux-ff64846bee0e7e3e7bc9363ebad3bab42dd27e24.tar.xz
rust: alloc: satisfy POSIX alignment requirement
ISO C's `aligned_alloc` is partially implementation-defined; on some systems it inherits stricter requirements from POSIX's `posix_memalign`. This causes the call added in commit dd09538fb409 ("rust: alloc: implement `Cmalloc` in module allocator_test") to fail on macOS because it doesn't meet the requirements of `posix_memalign`. Adjust the call to meet the POSIX requirement and add a comment. This fixes failures in `make rusttest` on macOS. Acked-by: Danilo Krummrich <dakr@kernel.org> Cc: stable@vger.kernel.org Fixes: dd09538fb409 ("rust: alloc: implement `Cmalloc` in module allocator_test") Signed-off-by: Tamir Duberstein <tamird@gmail.com> Reviewed-by: Gary Guo <gary@garyguo.net> Link: https://lore.kernel.org/r/20250213-aligned-alloc-v7-1-d2a2d0be164b@gmail.com [ Added Cc: stable. - Miguel ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions