oom: remove references to old badness() function
authorDavid Rientjes <rientjes@google.com>
Tue, 26 Jul 2011 00:12:17 +0000 (17:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:09 +0000 (20:57 -0700)
commit11239836c04b50ba8453ec58ca7a7bd716ef02c1
tree358705632aecb348e35f01fcc26281326d5a514a
parent6ac47520063b230641a64062b8a229201cd0a3a8
oom: remove references to old badness() function

The badness() function in the oom killer was renamed to oom_badness() in
a63d83f427fb ("oom: badness heuristic rewrite") since it is a globally
exported function for clarity.

The prototype for the old function still existed in linux/oom.h, so remove
it.  There are no existing users.

Also fixes documentation and comment references to badness() and adjusts
them accordingly.

Signed-off-by: David Rientjes <rientjes@google.com>
Reviewed-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>
Documentation/ABI/obsolete/proc-pid-oom_adj
Documentation/feature-removal-schedule.txt
include/linux/oom.h
mm/oom_kill.c