diff options
| author | David Rientjes <[email protected]> | 2014-01-23 15:53:34 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-01-23 16:36:53 -0800 |
| commit | d49ad9355420c743c736bfd1dee9eaa5b1a7722a (patch) | |
| tree | edd5f00d2e7e6b2414f7063e3393934dc74e5c9b /tools/perf/scripts/python | |
| parent | c3ac14b2677e0bc130238c5d01856592ac7a584b (diff) | |
mm, oom: prefer thread group leaders for display purposes
When two threads have the same badness score, it's preferable to kill
the thread group leader so that the actual process name is printed to
the kernel log rather than the thread group name which may be shared
amongst several processes.
This was the behavior when select_bad_process() used to do
for_each_process(), but it now iterates threads instead and leads to
ambiguity.
Signed-off-by: David Rientjes <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Greg Thelen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions