Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e91a810e authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

oom_kill bug



Wrong order of arguments

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e8b8c977
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;