Commit ced65a05 authored by Dylan Yudaken's avatar Dylan Yudaken Committed by Todd Kjos
Browse files

UPSTREAM: 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: default avatarDylan Yudaken <dylany@meta.com>

Cc: Joel Fernandes (Google) <joel@joelfernandes.org>
Cc: Paul E. McKenney <paulmck@kernel.org>
Acked-by: default avatarPaul E. McKenney <paulmck@kernel.org>
Reviewed-by: default avatarJoel Fernandes (Google) <joel@joelfernandes.org>
Link: https://lore.kernel.org/r/20221215184138.795576-1-dylany@meta.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
(cherry picked from commit 44a84da4)

Bug: 258241771
Signed-off-by: default avatarJoel Fernandes <joelaf@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/4909038


Reviewed-by: default avatarVineeth Pillai <vineethrp@google.com>
Reviewed-by: default avatarRoss Zwisler <zwisler@google.com>
Reviewed-by: default avatarSean Paul <sean@poorly.run>
Signed-off-by: default avatarQais Yousef <qyousef@google.com>
Change-Id: Iec189c9ce0a95ccacda81f58bf7d49a575a6ab3f
parent 84c8157d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment