]> git.baikalelectronics.ru Git - kernel.git/commit
oom: fold __out_of_memory into out_of_memory
authorDavid Rientjes <rientjes@google.com>
Tue, 10 Aug 2010 00:18:59 +0000 (17:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Aug 2010 03:44:57 +0000 (20:44 -0700)
commit0b56dd3ec3d7c19b79cda218ee066eb3c7cdc3d2
treeebba56659dab4e285b87341d7639fda7a2db81e9
parente3d8edc01e6aeee6290bdccbb6b0610ac0b0fcf5
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>
mm/oom_kill.c