diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2010-08-09 20:19:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-09 23:45:02 -0400 |
commit | 74bcbf40546bb7500f2a7ba4ff3cc056a6bd004a (patch) | |
tree | 39411d83f448da818368043af9b52e9b405a2002 /fs/proc | |
parent | cef1d3523d33ebc35fc29e454b1f4bab953fabbf (diff) |
oom: move badness() declaration into oom.h
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/base.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index fc23f62bb0b8..5949d0ac30f2 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -427,9 +427,6 @@ static const struct file_operations proc_lstats_operations = { | |||
427 | 427 | ||
428 | #endif | 428 | #endif |
429 | 429 | ||
430 | /* The badness from the OOM killer */ | ||
431 | unsigned long badness(struct task_struct *p, struct mem_cgroup *mem, | ||
432 | nodemask_t *nodemask, unsigned long uptime); | ||
433 | static int proc_oom_score(struct task_struct *task, char *buffer) | 430 | static int proc_oom_score(struct task_struct *task, char *buffer) |
434 | { | 431 | { |
435 | unsigned long points = 0; | 432 | unsigned long points = 0; |