diff options
author | David Rientjes <rientjes@google.com> | 2012-08-01 01:42:56 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-01 03:42:42 +0200 |
commit | de34d965a80d0f61a354bdefa0b15a88bcff2028 (patch) | |
tree | ac20c4e343a93234abc9c068830d9b0b0ed2bda9 /mm/page_alloc.c | |
parent | mm, oom: fix potential killing of thread that is disabled from oom killing (diff) | |
download | linux-de34d965a80d0f61a354bdefa0b15a88bcff2028.tar.xz linux-de34d965a80d0f61a354bdefa0b15a88bcff2028.zip |
mm, oom: replace some information in tasklist dump
The number of ptes and swap entries are used in the oom killer's badness
heuristic, so they should be shown in the tasklist dump.
This patch adds those fields and replaces cpu and oom_adj values that are
currently emitted. Cpu isn't interesting and oom_adj is deprecated and
will be removed later this year, the same information is already displayed
as oom_score_adj which is used internally.
At the same time, make the documentation a little more clear to state this
information is helpful to determine why the oom killer chose the task it
did to kill.
Signed-off-by: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions