summaryrefslogtreecommitdiff
path: root/include/linux/workqueue_api.h
diff options
context:
space:
mode:
authorAndy Chiu <tchiu@tenstorrent.com>2026-10-05 19:02:55 -0600
committerPaul Walmsley <pjw@kernel.org>2026-10-07 20:40:43 -0600
commit5c6e22ad386bc4a1299f0dd0732aefb9dfbc6a29 (patch)
tree42797dc2bc05821fb9f139fbf5fdf6ae2be5a988 /include/linux/workqueue_api.h
parent333485f3e0212acf51aa01c6e50df6b811566e5b (diff)
selftest: riscv: test vectorized user copy
Add a test that pushes a 1KiB pseudo-random stream through a pipe, so write() and read() copy it in and out of the kernel on the vectorized uaccess path, and compares the result against the original. Both buffers shift every iteration to sweep all relative alignments, and 16 processes per online CPU keep the vector unit contended. The compare is a byte at a time loop through volatile pointers rather than memcmp(), keeping it scalar and independent of the user vector state. Assisted-by: Claude-Code:claude-opus-5 Signed-off-by: Andy Chiu <tchiu@tenstorrent.com> Link: https://patch.msgid.link/20260918215154.2481482-4-tchiu@tenstorrent.com Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions