io_uring: use call_rcu_hurry if signaling an eventfd
authorDylan Yudaken <dylany@meta.com>
Thu, 15 Dec 2022 18:41:38 +0000 (10:41 -0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 15 Dec 2022 18:59:29 +0000 (11:59 -0700)
commit44a84da45272b3f4beb90025a64cfbde18f1aef0
tree7abe87073145288723fd115c97901a10d975bbed
parenta8cf95f93610eb8282f8b6d0117ba78b74588d6b
io_uring: use call_rcu_hurry if signaling an eventfd

io_uring uses call_rcu in the case it needs to signal an eventfd as a
result of an eventfd signal, since recursing eventfd signals are not
allowed. This should be calling the new call_rcu_hurry API to not delay
the signal.

Signed-off-by: Dylan Yudaken <dylany@meta.com>
Cc: Joel Fernandes (Google) <joel@joelfernandes.org>
Cc: Paul E. McKenney <paulmck@kernel.org>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Link: https://lore.kernel.org/r/20221215184138.795576-1-dylany@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c