mm, oom: fold oom_kill_task() into oom_kill_process()
authorDavid Rientjes <rientjes@google.com>
Wed, 21 Mar 2012 23:33:46 +0000 (16:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Mar 2012 00:54:55 +0000 (17:54 -0700)
commit647f2bdf4a00dbcaa8964286501d68e7d2e6da93
treea9efa94d4add977b4629b137de7f4d002eec56dd
parent2a1c9b1fc0a0ea2e30cdeb69062647c5c5ae661f
mm, oom: fold oom_kill_task() into oom_kill_process()

oom_kill_task() has a single caller, so fold it into its parent function,
oom_kill_process().  Slightly reduces the number of lines in the oom
killer.

Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/oom_kill.c