Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755662AbZFHNcR (ORCPT ); Mon, 8 Jun 2009 09:32:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752252AbZFHNcI (ORCPT ); Mon, 8 Jun 2009 09:32:08 -0400 Received: from mx2.redhat.com ([66.187.237.31]:51785 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752588AbZFHNcI (ORCPT ); Mon, 8 Jun 2009 09:32:08 -0400 Message-ID: <4A2D129D.3020309@redhat.com> Date: Mon, 08 Jun 2009 09:31:09 -0400 From: Rik van Riel Organization: Red Hat, Inc User-Agent: Thunderbird 2.0.0.17 (X11/20080915) MIME-Version: 1.0 To: Mel Gorman CC: KOSAKI Motohiro , Christoph Lameter , yanmin.zhang@intel.com, Wu Fengguang , linuxram@us.ibm.com, linux-mm , LKML Subject: Re: [PATCH 1/3] Reintroduce zone_reclaim_interval for when zone_reclaim() scans and fails to avoid CPU spinning at 100% on NUMA References: <1244466090-10711-1-git-send-email-mel@csn.ul.ie> <1244466090-10711-2-git-send-email-mel@csn.ul.ie> In-Reply-To: <1244466090-10711-2-git-send-email-mel@csn.ul.ie> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 679 Lines: 18 Mel Gorman wrote: > The scanning occurs because zone_reclaim() cannot tell > in advance the scan is pointless because the counters do not distinguish > between pagecache pages backed by disk and by RAM. Yes it can. Since 2.6.27, filesystem backed and swap/ram backed pages have been living on separate LRU lists. This allows you to fix the underlying problem, instead of having to add a retry interval. -- All rights reversed. -- 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/