diff options
| author | Dave Marchevsky <[email protected]> | 2023-12-04 13:17:22 -0800 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2023-12-05 15:06:47 +0100 |
| commit | 1b4c7e20bfd6cfe0efbc51756d930a9406d41ea7 (patch) | |
| tree | 039941b0e3e680eb0957a1cc32f62f43012a19bd /include/uapi/linux | |
| parent | ce3c49da11d77aa7d53cd549d308eb5f7fed8576 (diff) | |
selftests/bpf: Test bpf_kptr_xchg stashing of bpf_rb_root
There was some confusion amongst Meta sched_ext folks regarding whether
stashing bpf_rb_root - the tree itself, rather than a single node - was
supported. This patch adds a small test which demonstrates this
functionality: a local kptr with rb_root is created, a node is created
and added to the tree, then the tree is kptr_xchg'd into a mapval.
Signed-off-by: Dave Marchevsky <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions