From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754143Ab2LMKqF (ORCPT ); Thu, 13 Dec 2012 05:46:05 -0500 Received: from cantor2.suse.de ([195.135.220.15]:49129 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753028Ab2LMKqE (ORCPT ); Thu, 13 Dec 2012 05:46:04 -0500 Date: Thu, 13 Dec 2012 10:46:00 +0000 From: Mel Gorman To: Johannes Weiner Cc: Andrew Morton , Rik van Riel , Michal Hocko , Hugh Dickins , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [patch 4/8] mm: vmscan: clarify LRU balancing close to OOM Message-ID: <20121213104600.GY1009@suse.de> References: <1355348620-9382-1-git-send-email-hannes@cmpxchg.org> <1355348620-9382-5-git-send-email-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1355348620-9382-5-git-send-email-hannes@cmpxchg.org> 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, Dec 12, 2012 at 04:43:36PM -0500, Johannes Weiner wrote: > There are currently several inter-LRU balancing heuristics that simply > get disabled when the reclaimer is at the last reclaim cycle before > giving up, but the code is quite cumbersome and not really obvious. > > Make the heuristics visibly unreachable for the last reclaim cycle. > > Signed-off-by: Johannes Weiner Acked-by: Mel Gorman -- Mel Gorman SUSE Labs