aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2024-09-09 13:42:47 -1000
committerTejun Heo <[email protected]>2024-09-09 13:42:47 -1000
commit2d285d561543d76b4a13263731b447e646c258f2 (patch)
tree7b39eaa6525408a5be9b262e6d9fa423b6afa9c8 /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c
parent4c30f5ce4f7af4f639af99e0bdeada8b268b7361 (diff)
scx_qmap: Implement highpri boosting
Implement a silly boosting mechanism for nice -20 tasks. The only purpose is demonstrating and testing scx_bpf_dispatch_from_dsq(). The boosting only works within SHARED_DSQ and makes only minor differences with increased dispatch batch (-b). This exercises moving tasks to a user DSQ and all local DSQs from ops.dispatch() and BPF timerfn. v2: - Updated to use scx_bpf_dispatch_from_dsq_set_{slice|vtime}(). - Drop the workaround for the iterated tasks not being trusted by the verifier. The issue is fixed from BPF side. Signed-off-by: Tejun Heo <[email protected]> Cc: Daniel Hodges <[email protected]> Cc: David Vernet <[email protected]> Cc: Changwoo Min <[email protected]> Cc: Andrea Righi <[email protected]> Cc: Dan Schatzberg <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions