diff options
author | Waiman Long <[email protected]> | 2015-11-09 19:09:23 -0500 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-11-23 10:02:00 +0100 |
commit | aa68744f80bfb6f26fbe7f10e42876066f7dac1b (patch) | |
tree | 1346f724cd714045744db3c49c6b859b10c3b1a3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 81b5598665a24083dd889fbd8cb08b0d8de4b8ad (diff) |
locking/qspinlock: Avoid redundant read of next pointer
With optimistic prefetch of the next node cacheline, the next pointer
may have been properly inititalized. As a result, the reading
of node->next in the contended path may be redundant. This patch
eliminates the redundant read if the next pointer value is not NULL.
Signed-off-by: Waiman Long <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Douglas Hatch <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Scott J Norton <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions