diff options
| author | Davidlohr Bueso <[email protected]> | 2017-01-03 13:43:12 -0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-01-14 11:14:13 +0100 |
| commit | 5376f2e722026e91cb46384bda8d8b3e9f88217c (patch) | |
| tree | c3f73f7179ff9e118e73068923119562689f31ac /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 0039962a1473f07fd5c8355bd8264be1eb87eb3e (diff) | |
drivers/tty: Compute 'current' directly
This patch effectively replaces the tsk pointer dereference
(which is obviously == current), to directly use get_current()
macro. This is to make the removal of setting foreign task
states smoother and painfully obvious. Performance win on some
archs such as x86-64 and ppc64 -- arm64 is no longer an issue.
Signed-off-by: Davidlohr Bueso <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions