News for hackers. Stuff that matters.
Re:Efficient IO with io_uring [pdf] by GolDDranks on Tuesday May 07, 2019 @12:32PM (#19851011)
I wonder if it would be possible to pass the ownership of a structure that contains the buffer to kernel, passing a pointer in the user_data. The application could then `std::mem::forget` the buffer, and re-construct it from the raw pointer when the completion event arrives. The Future that originated the IO job could then be dropped independently from the buffer.

There are no comments on this comment yet.