]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
oom_kill: remove unused parameter in badness()
authorLi Zefan <lizf@cn.fujitsu.com>
Mon, 28 Apr 2008 09:13:35 +0000 (02:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:26 +0000 (08:58 -0700)
commit97d87c9710bc6c5f2585fb9dc58f5bedbe996f10
tree60d6b2adc950c55330504fc472464339328d7ef7
parent0c0a4a517a31e05efb38304668198a873bfec6ca
oom_kill: remove unused parameter in badness()

In commit 4c4a22148909e4c003562ea7ffe0a06e26919e3c, we moved the
memcontroller-related code from badness() to select_bad_process(), so the
parameter 'mem' in badness() is unused now.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/oom_kill.c