On 10/27/22 9:52 AM, Jens Axboe wrote: > On Thu, 27 Oct 2022 07:44:27 -0700, Dylan Yudaken wrote: >> If locked was not set in __io_run_local_work, but some task work managed >> to lock the context, it would leave things locked indefinitely. Fix that >> by passing the pointer in. >> >> Patch 1 is a tiny cleanup to simplify things >> Patch 2 is the fix >> >> [...] > > Applied, thanks! > > [1/2] io_uring: use io_run_local_work_locked helper > commit: 8de11cdc96bf58b324c59a28512eb9513fd02553 > [2/2] io_uring: unlock if __io_run_local_work locked inside > commit: b3026767e15b488860d4bbf1649d69612bab2c25 I made the WARN_ON() -> WARN_ON_ONCE() edit and added a small comment as well, while applying. -- Jens Axboe