diff options
| author | Neeraj Upadhyay <neeraju@codeaurora.org> | 2019-03-11 12:46:11 +0300 | 
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-03-27 00:38:38 +0300 | 
| commit | 6973032a602ee678c98644a30d57ebf9c72dd6d3 (patch) | |
| tree | 44820db287285618da734b39523757fdb9b0abb6 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 0f58d2ac2c87d27006c2b610668ebc4ff1f7c3ba (diff) | |
| download | linux-6973032a602ee678c98644a30d57ebf9c72dd6d3.tar.xz | |
rcu: Default jiffies_to_sched_qs to jiffies_till_sched_qs
The current code only calls adjust_jiffies_till_sched_qs() if
jiffies_till_sched_qs is left at its default value, so when the
jiffies_till_sched_qs kernel-boot parameter actually is specified,
jiffies_to_sched_qs will be left with the value zero, which
will result in useless slowdowns of cond_resched().  This commit
therefore changes rcu_init_geometry() to unconditionally invoke
adjust_jiffies_till_sched_qs(), which ensures that jiffies_to_sched_qs
will be initialized in all cases, thus maintaining good cond_resched()
performance.
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
