Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4311118yba; Wed, 17 Apr 2019 08:53:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfJQtMLiwL9asp/1FHKDH9yn7WtAam6NTiMYz50AHKMtqP3TGFTHi67RuIv6H3Acdp47ui X-Received: by 2002:a63:f115:: with SMTP id f21mr77609186pgi.65.1555516434469; Wed, 17 Apr 2019 08:53:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555516434; cv=none; d=google.com; s=arc-20160816; b=FgECGHMuW2peffNItxKRVepcQ7fHKrinR/XHHI1nxT3r0DR+GjVEf0SkcpyMqXH5ko Z2q8lYjRgIqHCwF3s4R1e9hnlUgp2MXHHVOTnfhXRYNNB6HaFBzJrLI+XhKlGMSNr6fD qokHEARWs++qoKrjpwGUCfiI45XYRDjhVsvvqFBDM7dHGCnIYrtZujqJvFQvSHb0b4+q YwI0yT6KSsmM6WnbSfsJxcfEnu0x9jaHTLTxWRsigYJktBxYJKVaI2+N4fNbUoLF7I6t CFQKPZAdc7qjNqxiNYqH1Q3fDEskTCwKpHaztVv4KYmd+fqKwEFcN3skRhTcawMivQKZ vYEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sg3wq3MteswBnaiecj+bveQZpY+H78RJr86m90y8oys=; b=Wg5HmjmcUdJrRmCRO3IdqQ5Qca6MB7dqhODJ9vFBopdFq7UMMMti55hSoQyF45qNH7 s3bojOOt7usyupG2/m/K+h5D/KL0rhtKR9vXgwvHocgxbC72OFIHexiDuZrvb6gbOrtb tMw3rCDJhts1gW/D9cvYLg/4wp/BHtj7CDum3FgBb4F4/6j/o9qercGevI7Fgc4xs5BI IuN/AEI3rJmENOvwXtBwTeyX9o0o3Yfb/hOJ8U9si4X39/qX7ETmz9PvPGaywkPsnKRn zUHT8peOJ6zQiAEbEgmpR/CsaVBf1pT5Ahutzbafz/CaUb24MIoZ1/YIuXH4G0iXNqpn KV7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=bYJhk0dL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u7si44892185plq.31.2019.04.17.08.53.38; Wed, 17 Apr 2019 08:53:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=bYJhk0dL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732697AbfDQPwp (ORCPT + 99 others); Wed, 17 Apr 2019 11:52:45 -0400 Received: from mail-yb1-f194.google.com ([209.85.219.194]:40291 "EHLO mail-yb1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729940AbfDQPwo (ORCPT ); Wed, 17 Apr 2019 11:52:44 -0400 Received: by mail-yb1-f194.google.com with SMTP id q17so9280848ybg.7 for ; Wed, 17 Apr 2019 08:52:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=sg3wq3MteswBnaiecj+bveQZpY+H78RJr86m90y8oys=; b=bYJhk0dLrPtTxpjPurxmDPGapsniq5TRVmv2A6DGFE6jpqbRdsEcFg5Q2KvfAsOpen l74SfecVlMebY6oiDK+k83CYJ0SX7NzkRP0RPbi90WD4OtJllWHGVti8CbaVwNV1aNBn +SI9MI7iW7Letd3aig1QTC3dd+DvGGX3CA+NmXot1uCu+fJh6kwzno1NJJCmzx7Vaapz dIvhnraeSD1i/m7WJrTqNo9m9OqdRcvn7DCk93gRVX7H8hcvszEj6cObcVyr5mQgKXYZ xZBx1k4I6JVpDuq+7S4X4x+rJ2KwGqQ03gsK+xjlz+omnm8Elti0/MCEGXinyTpELxwi 17wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=sg3wq3MteswBnaiecj+bveQZpY+H78RJr86m90y8oys=; b=G3wx/B1/XMypYiHXcUVbcPLGnp/Kxhmk4VxsFHPS+kmxfRQid/f+XMQv7ibfrxugR2 vC+jTTd+bFCkSVAP/hKePhbAjFdON7I5duP8LmNubFvoZKixYUEMezWMF9LNYtV160HY I6K3sf5Yk38qu3SNBT2piOYWg62sLzR8HJ3Wp1ZN3+UOuspFNFKyylY+9yu9rbAA0QLT rfdD3ECpGiRl+ktyfXTcz6Lu+JWddlurn7ZBa3UrfpVkdRpyOuuf+Bi5ZE2HfsM5fsXI VgoAYd9zP+vtGDc8cY2/qua992IEsNkXnrJAm/461WQw9YHIvpXCtrss4l5G9g7btjTS +ajQ== X-Gm-Message-State: APjAAAXe+sY/V6a8JRioMauRhWTKPPIk8SLhOkrnlOg0PtrAyAJWNKk8 hdcRkDbssglfLQqKA3ag87eOVg== X-Received: by 2002:a5b:987:: with SMTP id c7mr473393ybq.499.1555516363612; Wed, 17 Apr 2019 08:52:43 -0700 (PDT) Received: from localhost ([2620:10d:c091:200::2:fc54]) by smtp.gmail.com with ESMTPSA id h3sm22321975ywa.61.2019.04.17.08.52.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Apr 2019 08:52:42 -0700 (PDT) Date: Wed, 17 Apr 2019 11:52:41 -0400 From: Johannes Weiner To: Andrew Morton Cc: shakeelb@google.com, mhocko@kernel.org, guro@fb.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: + mm-fix-inactive-list-balancing-between-numa-nodes-and-cgroups.patch added to -mm tree Message-ID: <20190417155241.GB23013@cmpxchg.org> References: <20190415212744.v9aTn%akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190415212744.v9aTn%akpm@linux-foundation.org> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 15, 2019 at 02:27:44PM -0700, akpm@linux-foundation.org wrote: > > The patch titled > Subject: mm: fix inactive list balancing between NUMA nodes and cgroups > has been added to the -mm tree. Its filename is > mm-fix-inactive-list-balancing-between-numa-nodes-and-cgroups.patch --- From b5a82062b99fd3d2d4f4f7dc220d4acb1aa9b749 Mon Sep 17 00:00:00 2001 From: Johannes Weiner Date: Wed, 17 Apr 2019 11:08:07 -0400 Subject: [PATCH] mm: fix inactive list balancing between NUMA nodes and cgroups fix lruvec_page_state_local() is only defined later in the series. This is fallout from reshuffling the patch series to pull a standalone fix before the bigger stats rework. Signed-off-by: Johannes Weiner --- mm/vmscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index c9f8afe61ae3..461720e2ae90 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -2979,7 +2979,7 @@ static void snapshot_refaults(struct mem_cgroup *root_memcg, pg_data_t *pgdat) struct lruvec *lruvec; lruvec = mem_cgroup_lruvec(pgdat, memcg); - refaults = lruvec_page_state_local(lruvec, WORKINGSET_ACTIVATE); + refaults = lruvec_page_state(lruvec, WORKINGSET_ACTIVATE); lruvec->refaults = refaults; } while ((memcg = mem_cgroup_iter(root_memcg, memcg, NULL))); } -- 2.21.0