Skip to content

Commit

Permalink
oom_kill bug
Browse files Browse the repository at this point in the history
Wrong order of arguments

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 20, 2007
1 parent e8b8c97 commit e91a810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/oom_kill.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ void out_of_memory(struct zonelist *zonelist, gfp_t gfp_mask, int order)
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;

Expand Down

0 comments on commit e91a810

Please sign in to comment.