io_uring: file registration list and lock optimization
authorJens Axboe <axboe@kernel.dk>
Fri, 15 May 2020 20:30:38 +0000 (14:30 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 15 May 2020 20:37:14 +0000 (14:37 -0600)
commit6a4d07cde5778174a35ffc445c1d1388479563ee
treece7e9d02c05fd3e71811e60c31f41db13b338213
parent7e55a19cf6e70ce08964b46dbbfbdb07fbc995fc
io_uring: file registration list and lock optimization

There's no point in using list_del_init() on entries that are going
away, and the associated lock is always used in process context so
let's not use the IRQ disabling+saving variant of the spinlock.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c