]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Make kfree_rcu() use a non-atomic ->monitor_todo
authorJoel Fernandes <joel@joelfernandes.org>
Sun, 22 Sep 2019 17:49:57 +0000 (10:49 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 24 Jan 2020 18:24:31 +0000 (10:24 -0800)
commit64c0fa4a39f01835e86e3a1932e6b15fb452a6eb
tree5f41f31f10b0196f177e7c8f0aeadf4042f2553a
parent56f88d3b173a236574ae3f81dc18acf73c4766bb
rcu: Make kfree_rcu() use a non-atomic ->monitor_todo

Because the ->monitor_todo field is always protected by krcp->lock,
this commit downgrades from xchg() to non-atomic unmarked assignment
statements.

Signed-off-by: Joel Fernandes <joel@joelfernandes.org>
[ paulmck: Update to include early-boot kick code. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.c