On 8/21/21 2:18 PM, Jens Axboe wrote: > On 8/20/21 3:36 AM, Pavel Begunkov wrote: >> 1-2 put some limits on the fixed file tables sizes, files and >> buffers. >> >> 3/3 adds compatibility checks for ->splice_fd_in, for all requests >> buy rw and some others, see the patch message. >> >> All based on 5.15 and merked stable, looks to me as the best way. >> >> Pavel Begunkov (3): >> io_uring: limit fixed table size by RLIMIT_NOFILE >> io_uring: place fixed tables under memcg limits >> io_uring: add ->splice_fd_in checks >> >> fs/io_uring.c | 61 ++++++++++++++++++++++++++++++--------------------- >> 1 file changed, 36 insertions(+), 25 deletions(-) > > Applied - especially 3/3 will be a bit of a stable pain. Nothing difficult, > just needs attention for each version... Yep. Thanks, Jens -- Pavel Begunkov