Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751877Ab1FBO31 (ORCPT ); Thu, 2 Jun 2011 10:29:27 -0400 Received: from zene.cmpxchg.org ([85.214.230.12]:40848 "EHLO zene.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751104Ab1FBO30 (ORCPT ); Thu, 2 Jun 2011 10:29:26 -0400 Date: Thu, 2 Jun 2011 16:28:57 +0200 From: Johannes Weiner To: Hiroyuki Kamezawa Cc: KAMEZAWA Hiroyuki , Daisuke Nishimura , Balbir Singh , Ying Han , Michal Hocko , Andrew Morton , Rik van Riel , Minchan Kim , KOSAKI Motohiro , Mel Gorman , Greg Thelen , Michel Lespinasse , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [patch 6/8] vmscan: change zone_nr_lru_pages to take memcg instead of scan control Message-ID: <20110602142857.GD28684@cmpxchg.org> References: <1306909519-7286-1-git-send-email-hannes@cmpxchg.org> <1306909519-7286-7-git-send-email-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 876 Lines: 20 On Thu, Jun 02, 2011 at 10:30:48PM +0900, Hiroyuki Kamezawa wrote: > 2011/6/1 Johannes Weiner : > > This function only uses sc->mem_cgroup from the scan control. ?Change > > it to take a memcg argument directly, so callsites without an actual > > reclaim context can use it as well. > > > > Signed-off-by: Johannes Weiner > > Acked-by: KAMEZAWA Hiroyuki > > I wonder this can be cut out and cab be merged immediately, no ? I don't see anything standing in the way of that. OTOH, all current users have scan controls, so it's not really urgent, either. -- 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/