summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-21 00:45:33 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-21 02:04:06 +0400
commite91a810e884850781a1cada2ea81b8016881d244 (patch)
treeed23efe49c12aeb8e336795bee11dde3e4ebb2ec
parente8b8c977734193adedf2b0f607d6252c78e86394 (diff)
downloadlinux-e91a810e884850781a1cada2ea81b8016881d244.tar.xz
oom_kill bug
Wrong order of arguments Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--mm/oom_kill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/oom_kill.c b/mm/oom_kill.c
index 824cade07827..91a081a82f55 100644
--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -496,7 +496,7 @@ retry:
panic("Out of memory and no killable processes...\n");
}
- if (oom_kill_process(p, points, gfp_mask, order,
+ if (oom_kill_process(p, gfp_mask, order, points,
"Out of memory"))
goto retry;