On 6/4/20 7:01 PM, Bijan Mottahedeh wrote: > I hard coded (user_max_address() - PAGESIZE) as the start address > in liburing/test/read-write.c:test_buf_select() and provided two buffers > of PAGESIZE each. Without the patch, io_uring_prep_provide_buffers() > succeeds but the subsequent __test_io() obviously fails with -EFAULT. > With the patch, io_uring_prep_provide_buffers() fails with -EFAULT. > I think this would be a good test case to add but I'm not sure what > would be a generic way to implement it. Thanks, looks good to me. Applied for 5.8. -- Jens Axboe