diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-04-11 16:41:20 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-05-15 10:29:24 -0700 |
commit | 5fe0a56298e674358ff2740a6288bf21509d895d (patch) | |
tree | 61a2926d9340b746ff535c954d193e0ae9c6448c /tools/perf/scripts/python/syscall-counts.py | |
parent | c91a8675b9cc697c725b6d97fcc7f157f4a989d0 (diff) |
rcu: Make rcu_gp_kthread() check for early-boot activity
The rcu_gp_kthread() function immediately sleeps waiting to be notified
of the need for a new grace period, which currently works because there
are a number of code sequences that will provide the needed wakeup later.
However, some of these code sequences need to acquire the root rcu_node
structure's ->lock, and contention on that lock has started manifesting.
This commit therefore makes rcu_gp_kthread() check for early-boot activity
when it starts up, omitting the initial sleep in that case.
Reported-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions