From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760676AbaGYP1M (ORCPT ); Fri, 25 Jul 2014 11:27:12 -0400 Received: from zene.cmpxchg.org ([85.214.230.12]:33331 "EHLO zene.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760616AbaGYP1K (ORCPT ); Fri, 25 Jul 2014 11:27:10 -0400 Date: Fri, 25 Jul 2014 11:26:54 -0400 From: Johannes Weiner To: Michal Hocko Cc: Miklos Szeredi , Andrew Morton , Hugh Dickins , Tejun Heo , Vladimir Davydov , linux-mm@kvack.org, cgroups@vger.kernel.org, Kernel Mailing List Subject: Re: [patch 13/13] mm: memcontrol: rewrite uncharge API Message-ID: <20140725152654.GK1725@cmpxchg.org> References: <20140719173911.GA1725@cmpxchg.org> <20140722150825.GA4517@dhcp22.suse.cz> <20140723143847.GB16721@dhcp22.suse.cz> <20140723150608.GF1725@cmpxchg.org> <20140723210241.GH1725@cmpxchg.org> <20140724084644.GA14578@dhcp22.suse.cz> <20140724090257.GB14578@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140724090257.GB14578@dhcp22.suse.cz> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 24, 2014 at 11:02:57AM +0200, Michal Hocko wrote: > On Thu 24-07-14 10:46:44, Michal Hocko wrote: > > On Wed 23-07-14 17:02:41, Johannes Weiner wrote: > [...] > > We can reduce the lookup only to lruvec==true case, no? > > Dohh > s@can@should@ > > newpage shouldn't charged in all other cases and it would be bug. > Or am I missing something? Yeah, but I'd hate to put that assumption onto the @lrucare parameter, it just coincides. > > Acked-by: Michal Hocko Thanks!