diff options
| author | Andrii Nakryiko <[email protected]> | 2024-10-21 22:02:49 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-10-21 22:02:50 +0000 |
| commit | d39100d01ce1ba1bffe0447a0550f592aa6e1e9b (patch) | |
| tree | d77b5782e22dc705ddec5bccce32e86274d88713 /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
| parent | Merge branch 'bpf-fix-tailcall-infinite-loop-caused-by-freplace' (diff) | |
| parent | selftests/bpf: Augment send_signal test with remote signaling (diff) | |
| download | kernel-d39100d01ce1ba1bffe0447a0550f592aa6e1e9b.tar.gz kernel-d39100d01ce1ba1bffe0447a0550f592aa6e1e9b.zip | |
Merge branch 'implement-mechanism-to-signal-other-threads'
Puranjay Mohan says:
====================
Implement mechanism to signal other threads
This set implements a kfunc called bpf_send_signal_task() that is similar
to sigqueue() as it can send a signal along with a cookie to a thread or
thread group.
The send_signal selftest has been updated to also test this new kfunc under
all contexts.
Changes in v5:
v4: https://lore.kernel.org/all/[email protected]/
- Call copy_siginfo() only if work->has_siginfo is true in
bpf_send_signal_common()
- Add Acked-by: Andrii Nakryiko <[email protected]>
Changes in v4:
v3: https://lore.kernel.org/all/[email protected]/
- Fix the selftest to make it work for big-endian archs.
- Fix a build warning on 32-bit archs.
- Some style changes and code refactors suggested by Andrii
Changes in v3:
v2: https://lore.kernel.org/all/[email protected]/
- make the cookie u64 instead of int.
- re use code from bpf_send_signal_common
Changes in v2:
v1: https://lore.kernel.org/bpf/[email protected]/
- Convert to a kfunc
- Add mechanism to send a cookie with the signal.
====================
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions
