Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752868AbZKAPNv (ORCPT ); Sun, 1 Nov 2009 10:13:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752751AbZKAPNu (ORCPT ); Sun, 1 Nov 2009 10:13:50 -0500 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:35943 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752716AbZKAPNu (ORCPT ); Sun, 1 Nov 2009 10:13:50 -0500 Date: Mon, 2 Nov 2009 00:13:04 +0900 (JST) X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 From: KOSAKI Motohiro To: LKML Subject: [PATCHv2 5/5][nit fix] vmscan Make consistent of reclaim bale out between do_try_to_free_page and shrink_zone Cc: kosaki.motohiro@jp.fujitsu.com, Rik van Riel , linux-mm , Andrew Morton In-Reply-To: <20091101234614.F401.A69D9226@jp.fujitsu.com> References: <20091101234614.F401.A69D9226@jp.fujitsu.com> Message-Id: <20091102001210.F40D.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.50.07 [ja] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 887 Lines: 30 Fix small inconsistent of ">" and ">=". Signed-off-by: KOSAKI Motohiro --- mm/vmscan.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index 7bdf4f0..e6ea011 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1632,7 +1632,7 @@ static void shrink_zone(int priority, struct zone *zone, * with multiple processes reclaiming pages, the total * freeing target can get unreasonably large. */ - if (nr_reclaimed > nr_to_reclaim && priority < DEF_PRIORITY) + if (nr_reclaimed >= nr_to_reclaim && priority < DEF_PRIORITY) break; } -- 1.6.2.5 -- 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/