diff options
author | David Rientjes <rientjes@google.com> | 2010-08-10 02:18:59 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 05:44:57 +0200 |
commit | 0aad4b3124850e85fe54e610802f0917ce46a1ae (patch) | |
tree | ebba56659dab4e285b87341d7639fda7a2db81e9 /mm/vmstat.c | |
parent | oom: remove constraint argument from select_bad_process and __out_of_memory (diff) | |
download | linux-0aad4b3124850e85fe54e610802f0917ce46a1ae.tar.xz linux-0aad4b3124850e85fe54e610802f0917ce46a1ae.zip |
oom: fold __out_of_memory into out_of_memory
__out_of_memory() only has a single caller, so fold it into
out_of_memory() and add a comment about locking for its call to
oom_kill_process().
Signed-off-by: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: 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 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions