]> git.proxmox.com Git - mirror_lxc.git/commit
mainloop: add io_uring support
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 4 Jun 2021 16:21:04 +0000 (18:21 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 10 Aug 2021 12:33:48 +0000 (14:33 +0200)
commit543d2f838c6fe37d5f36ed7299c109df38504018
tree3dd8f8e3d2b7f74a070bf3459c30ea3d65ab096a
parent3298b37d53e0b9a5a47c975d6877433078ebe484
mainloop: add io_uring support

Users can choose to compile liblxc with io_uring support. This will
cause LXC to use io_uring instead of epoll.
We're using both, io_uring's one-shot and multi-shot poll mode depending
on the type of handler.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
16 files changed:
configure.ac
src/lxc/Makefile.am
src/lxc/cgroups/cgfsng.c
src/lxc/cmd/lxc_monitord.c
src/lxc/commands.c
src/lxc/lxcseccomp.h
src/lxc/macro.h
src/lxc/mainloop.c
src/lxc/mainloop.h
src/lxc/seccomp.c
src/lxc/start.c
src/lxc/syscall_wrappers.h
src/lxc/terminal.c
src/lxc/terminal.h
src/lxc/tools/lxc_top.c
src/tests/Makefile.am