aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-09-24 07:12:27 -0600
committerJens Axboe <axboe@kernel.dk>2021-09-24 10:24:34 -0600
commit8bab4c09f24ec8d4a7a78ab343620f89d3a24804 (patch)
treeab8e7448a252e0f935e3c52f8985ea69478b2b7a /tools/testing/selftests/bpf/prog_tests/autoload.c
parent5b7aa38d86f348847a48f71e9ac7715406de900e (diff)
io_uring: allow conditional reschedule for intensive iterators
If we have a lot of threads and rings, the tctx list can get quite big. This is especially true if we keep creating new threads and rings. Likewise for the provided buffers list. Be nice and insert a conditional reschedule point while iterating the nodes for deletion. Link: https://lore.kernel.org/io-uring/00000000000064b6b405ccb41113@google.com/ Reported-by: syzbot+111d2a03f51f5ae73775@syzkaller.appspotmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions