diff options
author | David Rientjes <rientjes@google.com> | 2012-03-21 16:34:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-21 17:54:59 -0700 |
commit | e845e199362cc5712ba0e7eedc14eed70e144258 (patch) | |
tree | 3968125d82e512c3aee44ed96694fdd58b863506 /mm/filemap.c | |
parent | c7cfa37b7324a190fc36ff116d79d0f899e8d273 (diff) | |
download | linux-3.10-e845e199362cc5712ba0e7eedc14eed70e144258.tar.gz linux-3.10-e845e199362cc5712ba0e7eedc14eed70e144258.tar.bz2 linux-3.10-e845e199362cc5712ba0e7eedc14eed70e144258.zip |
mm, memcg: pass charge order to oom killer
The oom killer typically displays the allocation order at the time of oom
as a part of its diangostic messages (for global, cpuset, and mempolicy
ooms).
The memory controller may also pass the charge order to the oom killer so
it can emit the same information. This is useful in determining how large
the memory allocation is that triggered the oom killer.
Signed-off-by: David Rientjes <rientjes@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Balbir Singh <bsingharora@gmail.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions