]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring: silence false positive warnings
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 7 Jan 2025 14:11:32 +0000 (14:11 +0000)
committerJens Axboe <axboe@kernel.dk>
Tue, 7 Jan 2025 14:19:44 +0000 (07:19 -0700)
commit60495b08cf7a6920035c5172a22655ca2001270b
treee99a41e3dbb9e2969c429827a1f676194e904d46
parentc83c846231db8b153bfcb44d552d373c34f78245
io_uring: silence false positive warnings

If we kill a ring and then immediately exit the task, we'll get
cancellattion running by the task and a kthread in io_ring_exit_work.
For DEFER_TASKRUN, we do want to limit it to only one entity executing
it, however it's currently not an issue as it's protected by uring_lock.

Silence lockdep assertions for now, we'll return to it later.

Reported-by: syzbot+1bcb75613069ad4957fc@syzkaller.appspotmail.com
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/7e5f68281acb0f081f65fde435833c68a3b7e02f.1736257837.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.h