Seems like it'd be a shame to have the polled/async improvements and not include automatic buffer selection. I guess that'll be the Sunday project.
Once userspace is done with a buffer used by RECVMSG, it can free the memory, or provide it again to the kernel for the set of buffers. Multiple sets because different recvmsgs might need differently sized buffers.
-
-
E.g. the sockets waiting for a new 'command' from client wouldn't want a large buffer, but sockets waiting for a bulk file upload would.
-
Totally untested, but see below for the direction. What do you think? https://git.kernel.dk/cgit/linux-block/log/?h=io_uring-buf-select …
- 8 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.