From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756082Ab1EPP02 (ORCPT ); Mon, 16 May 2011 11:26:28 -0400 Received: from zene.cmpxchg.org ([85.214.230.12]:52391 "EHLO zene.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755769Ab1EPP00 (ORCPT ); Mon, 16 May 2011 11:26:26 -0400 Date: Mon, 16 May 2011 17:26:08 +0200 From: Johannes Weiner To: Mel Gorman Cc: 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: <20110516152608.GT16531@cmpxchg.org> References: <1305558417-24354-1-git-send-email-mgorman@suse.de> <1305558417-24354-2-git-send-email-mgorman@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1305558417-24354-2-git-send-email-mgorman@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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