diff options
| author | Davidlohr Bueso <[email protected]> | 2017-01-03 13:43:11 -0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-01-14 11:14:11 +0100 |
| commit | 0039962a1473f07fd5c8355bd8264be1eb87eb3e (patch) | |
| tree | 1611eeff5b2804ebaa7bd89172d85dcd77ac9228 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | aef591cd3d1ddccb268f64c836d38382007373c1 (diff) | |
kernel/exit: Compute 'current' directly
This patch effectively replaces the tsk pointer dereference (which is
obviously == current), to directly use get_current() macro. In this
case, do_exit() always passes current to exit_mm(), hence we can
simply get rid of the argument. This is also a 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: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [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