Re: [PATCH v3] Use io_uring_register_ring_fd() to skip fd operations

2022-04-21 Thread olc
Hi Fam, I've missed out freeing error object and error_report would be a better case indeed. Thanks for pointing out the problem. I'll fix that in no time. Best regards, Sam Fam Zheng 于2022年4月21日周四 21:36写道: > On 2022-04-19 07:33, Sam Li wrote: > > Linux recently added a new io_uring(7)

Re: [PATCH v3] Use io_uring_register_ring_fd() to skip fd operations

2022-04-21 Thread Fam Zheng
On 2022-04-19 07:33, Sam Li wrote: > 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,

[PATCH v3] Use io_uring_register_ring_fd() to skip fd operations

2022-04-18 Thread Sam Li
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