aboutsummaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex-debug.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2021-03-13 12:29:43 -0700
committerJens Axboe <[email protected]>2021-03-14 09:56:14 -0600
commit9e15c3a0ced5a61f320b989072c24983cb1620c1 (patch)
tree940ba0a8d0f7ea70dcbc5ee89e5f591cace325da /kernel/locking/rtmutex-debug.c
parent16efa4fce3b7af17bb45d635c3e89992d721e0f3 (diff)
io_uring: convert io_buffer_idr to XArray
Like we did for the personality idr, convert the IO buffer idr to use XArray. This avoids a use-after-free on removal of entries, since idr doesn't like doing so from inside an iterator, and it nicely reduces the amount of code we need to support this feature. Fixes: 5a2e745d4d43 ("io_uring: buffer registration infrastructure") Cc: [email protected] Cc: Matthew Wilcox <[email protected]> Cc: yangerkun <[email protected]> Reported-by: Hulk Robot <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions