From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx143.postini.com [74.125.245.143]) by kanga.kvack.org (Postfix) with SMTP id 461D36B0002 for ; Fri, 19 Apr 2013 23:22:06 -0400 (EDT) Received: from /spool/local by e39.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 19 Apr 2013 21:22:05 -0600 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 3F8351FF0026 for ; Fri, 19 Apr 2013 21:17:01 -0600 (MDT) Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r3K3M2EB380170 for ; Fri, 19 Apr 2013 21:22:02 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r3K3M2So021369 for ; Fri, 19 Apr 2013 21:22:02 -0600 Date: Sat, 20 Apr 2013 11:22:01 +0800 From: Gavin Shan Subject: Re: [RESEND PATCH 3.8-stable] mm/vmscan: fix error return in kswapd_run() Message-ID: <20130420032201.GA3922@shangw.(null)> Reply-To: Gavin Shan References: <1366383130-2500-1-git-send-email-jhbird.choi@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1366383130-2500-1-git-send-email-jhbird.choi@samsung.com> Sender: owner-linux-mm@kvack.org List-ID: To: Jonghwan Choi Cc: Gavin Shan , Xishi Qiu , Andrew Morton , stable@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds , Jonghwan Choi On Fri, Apr 19, 2013 at 11:52:10PM +0900, Jonghwan Choi wrote: >From: Gavin Shan > >This patch looks like it should be in the 3.8-stable tree, should we apply >it? > Yes, I think so. If possible, please apply to 3.8-stable. Thanks, Gavin >------------------ > >From: "Gavin Shan " > >commit d5dc0ad928fb9e972001e552597fd0b794863f34 upstream > >Fix the error return value in kswapd_run(). The bug was introduced by >commit d5dc0ad928fb ("mm/vmscan: fix error number for failed kthread"). > >Signed-off-by: Xishi Qiu >Reviewed-by: Wanpeng Li >Reviewed-by: Rik van Riel >Reported-by: Wu Fengguang >Signed-off-by: Andrew Morton >Signed-off-by: Linus Torvalds >Signed-off-by: Jonghwan Choi >--- > mm/vmscan.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/mm/vmscan.c b/mm/vmscan.c >index 196709f..8226b41 100644 >--- a/mm/vmscan.c >+++ b/mm/vmscan.c >@@ -3158,9 +3158,9 @@ int kswapd_run(int nid) > if (IS_ERR(pgdat->kswapd)) { > /* failure at boot is fatal */ > BUG_ON(system_state == SYSTEM_BOOTING); >- pgdat->kswapd = NULL; > pr_err("Failed to start kswapd on node %d\n", nid); > ret = PTR_ERR(pgdat->kswapd); >+ pgdat->kswapd = NULL; > } > return ret; > } >-- >1.7.10.4 > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org