rcu: Allocate WQ with WQ_MEM_RECLAIM bit set
authorUladzislau Rezki (Sony) <urezki@gmail.com>
Fri, 8 Mar 2024 17:34:09 +0000 (18:34 +0100)
committerUladzislau Rezki (Sony) <urezki@gmail.com>
Mon, 15 Apr 2024 17:51:26 +0000 (19:51 +0200)
commit0fd210baa07a9e3f15df1bc687293eafb119283a
tree21cff89c99d8ca11c62fbfe79d986e95504c0ebf
parent462df2f543ae360e79fcaa1b498d2a1a0c2a5b63
rcu: Allocate WQ with WQ_MEM_RECLAIM bit set

synchronize_rcu() users have to be processed regardless
of memory pressure so our private WQ needs to have at least
one execution context what WQ_MEM_RECLAIM flag guarantees.

Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
kernel/rcu/tree.c