From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx142.postini.com [74.125.245.142]) by kanga.kvack.org (Postfix) with SMTP id 535C76B005C for ; Thu, 14 Jun 2012 08:00:03 -0400 (EDT) Received: by ghrr18 with SMTP id r18so1590119ghr.14 for ; Thu, 14 Jun 2012 05:00:02 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1339663776-196-1-git-send-email-jiang.liu@huawei.com> References: <4FD97718.6060008@kernel.org> <1339663776-196-1-git-send-email-jiang.liu@huawei.com> From: KOSAKI Motohiro Date: Thu, 14 Jun 2012 07:59:42 -0400 Message-ID: Subject: Re: [PATCH] trivial, memory hotplug: add kswapd_is_running() for better readability Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Jiang Liu Cc: Minchan Kim , Keping Chen , Mel Gorman , KAMEZAWA Hiroyuki , Andrew Morton , Hugh Dickins , Tony Luck , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jiang Liu On Thu, Jun 14, 2012 at 4:49 AM, Jiang Liu wrote: > Add kswapd_is_running() to check whether the kswapd worker thread is already > running before calling kswapd_run() when onlining memory pages. > > It's based on a draft version from Minchan Kim . > > Signed-off-by: Jiang Liu Acked-by: KOSAKI Motohiro -- 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