Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756259Ab2FNPEs (ORCPT ); Thu, 14 Jun 2012 11:04:48 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:41768 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756057Ab2FNPEr (ORCPT ); Thu, 14 Jun 2012 11:04:47 -0400 Date: Fri, 15 Jun 2012 00:04:34 +0900 From: Minchan Kim To: Jiang Liu Cc: Minchan Kim , Keping Chen , Mel Gorman , KOSAKI Motohiro , KAMEZAWA Hiroyuki , Andrew Morton , Hugh Dickins , Tony Luck , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jiang Liu Subject: Re: [PATCH] trivial, memory hotplug: add kswapd_is_running() for better readability Message-ID: <20120614150434.GC2097@barrios> References: <4FD97718.6060008@kernel.org> <1339663776-196-1-git-send-email-jiang.liu@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1339663776-196-1-git-send-email-jiang.liu@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 629 Lines: 17 On Thu, Jun 14, 2012 at 04:49:36PM +0800, 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 Reviewed-by: Minchan Kim Thanks! -- 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/