diff options
| author | Pavel Begunkov <[email protected]> | 2021-02-23 22:17:20 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-02-24 02:18:54 +0000 |
| commit | e5547d2c5eb363bfac7632ba789ca834fa829650 (patch) | |
| tree | c5c48ab77f57f37363acf586b97313bbcdc5e430 /fs/proc/array.c | |
| parent | io_uring: don't attempt IO reissue from the ring exit path (diff) | |
| download | kernel-e5547d2c5eb363bfac7632ba789ca834fa829650.tar.gz kernel-e5547d2c5eb363bfac7632ba789ca834fa829650.zip | |
io_uring: fix locked_free_list caches_free()
Don't forget to zero locked_free_nr, it's not a disaster but makes it
attempting to flush it with extra locking when there is nothing in the
list. Also, don't traverse a potentially long list freeing requests
under spinlock, splice the list and do it afterwards.
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
