Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751414AbXJUDQS (ORCPT ); Sat, 20 Oct 2007 23:16:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751207AbXJUDPi (ORCPT ); Sat, 20 Oct 2007 23:15:38 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:56887 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751146AbXJUDPg (ORCPT ); Sat, 20 Oct 2007 23:15:36 -0400 Date: Sat, 20 Oct 2007 21:45:33 +0100 From: Al Viro To: Linus Torvalds Cc: linux-kernel@vger.kernel.org Subject: [PATCH] oom_kill bug Message-ID: <20071020204532.GS8181@ftp.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 680 Lines: 22 Wrong order of arguments Signed-off-by: Al Viro --- diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 824cade..91a081a 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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/