Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757034Ab1ELPiU (ORCPT ); Thu, 12 May 2011 11:38:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15444 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756240Ab1ELPiT (ORCPT ); Thu, 12 May 2011 11:38:19 -0400 Message-ID: <4DCBF67A.3060700@redhat.com> Date: Thu, 12 May 2011 11:02:18 -0400 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Thunderbird/3.1.1 MIME-Version: 1.0 To: Johannes Weiner CC: KAMEZAWA Hiroyuki , Daisuke Nishimura , Balbir Singh , Ying Han , Michal Hocko , Andrew Morton , Minchan Kim , KOSAKI Motohiro , Mel Gorman , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [rfc patch 1/6] memcg: remove unused retry signal from reclaim References: <1305212038-15445-1-git-send-email-hannes@cmpxchg.org> <1305212038-15445-2-git-send-email-hannes@cmpxchg.org> In-Reply-To: <1305212038-15445-2-git-send-email-hannes@cmpxchg.org> Content-Type: text/plain; charset=ISO-8859-1; 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: 779 Lines: 20 On 05/12/2011 10:53 AM, Johannes Weiner wrote: > If the memcg reclaim code detects the target memcg below its limit it > exits and returns a guaranteed non-zero value so that the charge is > retried. > > Nowadays, the charge side checks the memcg limit itself and does not > rely on this non-zero return value trick. > > This patch removes it. The reclaim code will now always return the > true number of pages it reclaimed on its own. > > Signed-off-by: Johannes Weiner Acked-by: Rik van Riel -- 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/