aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorZhang, Jun <[email protected]>2018-12-19 18:37:34 +0000
committerPaul E. McKenney <[email protected]>2019-01-25 23:30:00 +0000
commit13dc7d0c7a2ed438f0ec8e9fb365a1256d87cf87 (patch)
tree08cc0cbdabd91e8ca1f5621a569e971f59f558e3 /tools/perf/scripts/python/stackcollapse.py
parentrcu: Do RCU GP kthread self-wakeup from softirq and interrupt (diff)
downloadkernel-13dc7d0c7a2ed438f0ec8e9fb365a1256d87cf87.tar.gz
kernel-13dc7d0c7a2ed438f0ec8e9fb365a1256d87cf87.zip
rcu: Prevent needless ->gp_seq_needed update in __note_gp_changes()
Currently, __note_gp_changes() checks to see if the rcu_node structure's ->gp_seq_needed is greater than or equal to that of the rcu_data structure, and if so, updates the rcu_data structure's ->gp_seq_needed field. This results in a useless store in the case where the two fields are equal. This commit therefore carries out this store only in the case where the rcu_node structure's ->gp_seq_needed is strictly greater than that of the rcu_data structure. Signed-off-by: "Zhang, Jun" <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Link: https://lkml.kernel.org/r/88DC34334CA3444C85D647DBFA962C2735AD5F77@SHSMSX104.ccr.corp.intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions