Sam Li
e2848bc574
Use io_uring_register_ring_fd() to skip fd operations
...
Linux recently added a new io_uring(7) optimization API that QEMU
doesn't take advantage of yet. The liburing library that QEMU uses
has added a corresponding new API calling io_uring_register_ring_fd().
When this API is called after creating the ring, the io_uring_submit()
library function passes a flag to the io_uring_enter(2) syscall
allowing it to skip the ring file descriptor fdget()/fdput()
operations. This saves some CPU cycles.
Signed-off-by: Sam Li <faithilikerun@gmail.com>
Message-id: 20220531105011.111082-1-faithilikerun@gmail.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2022-06-15 14:50:41 +01:00
..
2022-03-07 13:16:49 +00:00
2022-04-26 13:13:50 -05:00
2021-10-05 18:56:41 +02:00
2022-03-04 18:18:26 +01:00
2022-03-04 18:18:25 +01:00
2021-09-29 13:46:32 -05:00
2021-09-29 13:46:32 -05:00
2021-09-29 13:46:32 -05:00
2022-03-22 14:40:51 +04:00
2022-03-04 18:18:25 +01:00
2022-03-08 15:26:10 +00:00
2021-09-29 13:46:31 -05:00
2021-09-29 13:46:31 -05:00
2022-03-07 13:16:49 +00:00
2022-03-07 09:33:31 +01:00
2022-03-04 18:18:25 +01:00
2021-09-29 13:46:32 -05:00
2022-05-11 16:50:01 +02:00
2022-05-11 16:49:06 +02:00
2022-03-04 18:18:25 +01:00
2022-03-07 13:16:49 +00:00
2022-03-07 09:19:20 +01:00
2022-03-07 09:33:30 +01:00
2022-03-07 13:16:49 +00:00
2022-05-03 15:17:53 +04:00
2021-09-29 13:46:31 -05:00
2021-09-29 13:46:32 -05:00
2021-09-29 13:46:32 -05:00
2022-06-15 14:50:41 +01:00
2022-05-12 12:29:44 +02:00
2021-07-09 18:20:27 +02:00
2022-04-06 14:31:43 +02:00
2022-01-12 17:09:39 +00:00
2022-03-07 09:33:31 +01:00
2022-03-07 13:16:49 +00:00
2022-04-26 13:16:42 -05:00
2022-01-12 17:09:39 +00:00
2021-09-29 13:46:31 -05:00
2022-04-06 10:50:38 +02:00
2022-03-24 10:38:42 +00:00
2022-04-06 10:50:38 +02:00
2022-03-07 09:19:20 +01:00
2022-04-25 12:02:36 +02:00
2022-04-06 10:50:38 +02:00
2022-03-07 13:16:49 +00:00
2022-04-20 12:09:17 +02:00
2022-03-07 13:16:49 +00:00
2022-05-04 15:55:23 +02:00
2022-03-22 14:40:51 +04:00
2022-03-07 13:16:49 +00:00
2022-03-07 13:16:49 +00:00
2022-03-07 13:16:49 +00:00
2022-03-07 13:16:49 +00:00
2022-03-07 13:16:49 +00:00
2022-03-07 13:16:49 +00:00
2022-03-22 09:40:54 +01:00
2021-10-07 10:42:09 +02:00
2022-03-07 09:33:30 +01:00
2022-03-07 09:33:31 +01:00
2022-03-04 18:18:25 +01:00
2022-03-22 14:40:51 +04:00
2022-03-29 16:30:55 +02:00
2021-09-29 13:46:32 -05:00
2021-11-02 15:49:12 +01:00
2022-03-07 13:16:49 +00:00
2022-03-07 13:16:49 +00:00
2022-03-07 13:16:49 +00:00
2022-05-04 15:55:23 +02:00
2022-03-07 13:16:49 +00:00
2022-01-14 12:03:16 +01:00
2022-03-07 13:16:49 +00:00