On 07/12/2020 22:15, Bijan Mottahedeh wrote: > Apply fixed_rsrc functionality for fixed buffers support. > > Signed-off-by: Bijan Mottahedeh <bijan.mottahedeh@xxxxxxxxxx> > --- > fs/io_uring.c | 240 +++++++++++++++++++++++++++++++++++++++++++++++++--------- > 1 file changed, 204 insertions(+), 36 deletions(-) > [...] > /* overflow */ > @@ -8296,28 +8313,71 @@ static unsigned long ring_pages(unsigned sq_entries, unsigned cq_entries) > return pages; > } > > -static int io_sqe_buffers_unregister(struct io_ring_ctx *ctx) > +static void io_buffer_unmap(struct io_ring_ctx *ctx, struct io_mapped_ubuf *imu) I think this and some others from here can go into a separate patch, would be cleaner. -- Pavel Begunkov