From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752257Ab1EQF03 (ORCPT ); Tue, 17 May 2011 01:26:29 -0400 Received: from mga14.intel.com ([143.182.124.37]:30217 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751451Ab1EQF00 (ORCPT ); Tue, 17 May 2011 01:26:26 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.65,223,1304319600"; d="scan'208";a="437281428" Date: Tue, 17 May 2011 13:26:21 +0800 From: Wu Fengguang To: Johannes Weiner Cc: Mel Gorman , Andrew Morton , James Bottomley , Colin King , Raghavendra D Prabhu , Jan Kara , Chris Mason , Christoph Lameter , Pekka Enberg , Rik van Riel , Minchan Kim , linux-fsdevel , linux-mm , linux-kernel , linux-ext4 , stable Subject: Re: [PATCH 1/2] mm: vmscan: Correct use of pgdat_balanced in sleeping_prematurely Message-ID: <20110517052621.GA24069@localhost> References: <1305558417-24354-1-git-send-email-mgorman@suse.de> <1305558417-24354-2-git-send-email-mgorman@suse.de> <20110516152608.GT16531@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110516152608.GT16531@cmpxchg.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 16, 2011 at 05:26:08PM +0200, Johannes Weiner wrote: > On Mon, May 16, 2011 at 04:06:56PM +0100, Mel Gorman wrote: > > From: Johannes Weiner > > > > Johannes Weiner poined out that the logic in commit [1741c877: mm: > > kswapd: keep kswapd awake for high-order allocations until a percentage > > of the node is balanced] is backwards. Instead of allowing kswapd to go > > to sleep when balancing for high order allocations, it keeps it kswapd > > running uselessly. > > > > Signed-off-by: Mel Gorman > > Reviewed-by: Rik van Riel > > Signed-off-by: Johannes Weiner Reviewed-by: Wu Fengguang