From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755273Ab0KZQG7 (ORCPT ); Fri, 26 Nov 2010 11:06:59 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:59750 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753909Ab0KZQG6 (ORCPT ); Fri, 26 Nov 2010 11:06:58 -0500 Date: Fri, 26 Nov 2010 11:06:19 -0500 From: Kyle McMartin To: Mel Gorman Cc: Andrew Morton , Shaohua Li , KOSAKI Motohiro , Christoph Lameter , David Rientjes , KAMEZAWA Hiroyuki , LKML , Linux-MM Subject: Re: [PATCH 1/2] mm: page allocator: Adjust the per-cpu counter threshold when memory is low Message-ID: <20101126160619.GP22651@bombadil.infradead.org> References: <1288169256-7174-1-git-send-email-mel@csn.ul.ie> <1288169256-7174-2-git-send-email-mel@csn.ul.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1288169256-7174-2-git-send-email-mel@csn.ul.ie> 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 On Wed, Oct 27, 2010 at 09:47:35AM +0100, Mel Gorman wrote: > > To ensure that kswapd wakes up, a safe version of zone_watermark_ok() > is introduced that takes a more accurate reading of NR_FREE_PAGES when > called from wakeup_kswapd, when deciding whether it is really safe to go > back to sleep in sleeping_prematurely() and when deciding if a zone is > really balanced or not in balance_pgdat(). We are still using an expensive > function but limiting how often it is called. > > Reported-by: Shaohua Li > Signed-off-by: Mel Gorman Hi Mel, I notice these aren't flagged for stable, should they be? (They fairly trivially apply and compile on 2.6.36 barring the trace_ points which changed.) I've got a few bug reports against .36/.37 where kswapd has been sleeping for 60s+. I built them some kernels with these patches, but haven't heard back yet as to whether it fixes things for them. Thanks for any insight, Kyle