oom_kill bug
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 20 Oct 2007 20:45:33 +0000 (21:45 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 20 Oct 2007 22:04:06 +0000 (15:04 -0700)
Wrong order of arguments

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/oom_kill.c

index 824cade078277fda90f06799001a563a45680394..91a081a82f55a330706f92d92cd54186ea6339af 100644 (file)
@@ -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;