提交 e91a810e 编写于 作者: A Al Viro 提交者: Linus Torvalds

oom_kill bug

Wrong order of arguments
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 e8b8c977
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册