summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2020-08-27 16:58:31 +0200
committerJens Axboe <axboe@kernel.dk>2020-09-30 20:32:33 -0600
commit7e84e1c7566a1df470a9e1f49d3db2ce311261a4 (patch)
tree416f0b2c00bef21e5bfcc54ca58dae73a470529f /tools/perf/scripts/python/stackcollapse.py
parent21b55dbc0653018b8cd4513c37cbca303b0f0d50 (diff)
io_uring: allow disabling rings during the creation
This patch adds a new IORING_SETUP_R_DISABLED flag to start the rings disabled, allowing the user to register restrictions, buffers, files, before to start processing SQEs. When IORING_SETUP_R_DISABLED is set, SQE are not processed and SQPOLL kthread is not started. The restrictions registration are allowed only when the rings are disable to prevent concurrency issue while processing SQEs. The rings can be enabled using IORING_REGISTER_ENABLE_RINGS opcode with io_uring_register(2). Suggested-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions