diff options
| author | Oleg Nesterov <[email protected]> | 2014-06-06 14:36:51 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-06-06 16:08:11 -0700 |
| commit | afe2b0386ac22b6a189a2067b25282cade3fbb4d (patch) | |
| tree | 794acbfc5e7c0a333ce322301cfe71c96847ed91 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | c09c144139f227de13330111adcafa1659ebd008 (diff) | |
signals: cleanup the usage of t/current in do_sigaction()
The usage of "task_struct *t" and "current" in do_sigaction() looks really
annoying and chaotic. Initially "t" is used as a cached value of current
but not consistently, then it is reused as a loop variable and we have to
use "current" again.
Clean up this mess and also convert the code to use for_each_thread().
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Al Viro <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions