io_uring_free_reg_wait(3)
π io_uring_free_reg_wait β frees a previously registered wait region π
okay bestie, so you know how we're hanging out in the liburing manual? yeah. this page lives there. it's a lil three-parter and it's lowkey iconic, let's get into it π«Ά
β¨ SYNOPSIS β¨
#include <liburing.h>
void io_uring_free_reg_wait(struct io_uring *ring,
unsigned nentries);
πΈ DESCRIPTION πΈ
so io_uring_free_reg_wait(3) does exactly one thing and it does it slay: it frees a wait region for the ring ring of nentries that you previously set up with io_uring_setup_reg_wait(3). that's it. that's the whole vibe. π
but here's the tea, and it's important, so listen up bestie π
registered wait regions persist for the life time of the ring. so on the kernel side? those wait regions are still there, still active, still doing their thing. in fact, your application may still use them for wait operations. the only thing that changes is that the application can no longer modify them. that's the whole switch. not deleted, not gone, just β¨ locked for editing β¨.
no cap, this is a "you can look but you can't touch" situation, not a "it's gone forever" situation. don't get it twisted π
Available since kernel 6.13. π
π SEE ALSO π
(yes it references itself. main character energy fr fr. iykyk π)
okay that's the page!! this was liburing-2.9, dated November 2, 2024 β mwah, thanks for reading, go free some wait regions responsibly π¦π
π¦ where this page comes from
- alpine 3.22: liburing-doc 2.9-r0 Β· LGPL-2.1-or-later OR MIT
- alpine 3.23: liburing-doc 2.12-r0 Β· LGPL-2.1-or-later OR MIT
- centos-stream 10: liburing-devel 2.12-1.el10 Β· (GPLv2 with exceptions and LGPLv2+) or MIT
- centos-stream 9: liburing-devel 2.12-1.el9 Β· (GPLv2 with exceptions and LGPLv2+) or MIT
- centos-stream 9: liburing-devel 2.12-1.el9 Β· (GPLv2 with exceptions and LGPLv2+) or MIT
- debian trixie: liburing-dev 2.9-1
- fedora 43: liburing-devel 2.9-2.fc43 Β· (GPL-2.0-only WITH Linux-syscall-note OR MIT) AND (LGPL-2.0-or-later OR MIT)
- fedora 43: liburing-devel 2.9-2.fc43 Β· (GPL-2.0-only WITH Linux-syscall-note OR MIT) AND (LGPL-2.0-or-later OR MIT)
- fedora 44: liburing-devel 2.13-2.fc44 Β· (GPL-2.0-only WITH Linux-syscall-note OR MIT) AND (LGPL-2.0-or-later OR MIT)
- fedora 44: liburing-devel 2.13-2.fc44 Β· (GPL-2.0-only WITH Linux-syscall-note OR MIT) AND (LGPL-2.0-or-later OR MIT)
- ubuntu questing: liburing-dev 2.11-1
- π the page's license: LGPL-2.0-or-later
- Copyright (C) 2024 Jens Axboe <axboe@kernel.dk>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms