Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755898Ab2FNMAF (ORCPT ); Thu, 14 Jun 2012 08:00:05 -0400 Received: from mail-gg0-f174.google.com ([209.85.161.174]:44922 "EHLO mail-gg0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755261Ab2FNMAD (ORCPT ); Thu, 14 Jun 2012 08:00:03 -0400 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 X-Google-Sender-Auth: NFAai6VCu-tGJOMUnGBW1VlmQ30 Message-ID: Subject: Re: [PATCH] trivial, memory hotplug: add kswapd_is_running() for better readability 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 Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 644 Lines: 14 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 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/