Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4322187yba; Wed, 17 Apr 2019 09:06:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqx5x6jCwZM/Yv+XHgpklBGOgVAw3xHnfYi48bfeANmhBhj+e6HOBUNaMh8DdC6vAXP2HSXM X-Received: by 2002:a62:205c:: with SMTP id g89mr90250121pfg.34.1555517169899; Wed, 17 Apr 2019 09:06:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555517169; cv=none; d=google.com; s=arc-20160816; b=nm+c0BvqX8VZVO4wTd846bwKqGsUPGDE0tZmhygUtQAoVakSbuaT65lMkjMDOAF5At 4a2Beanxd1evSEJp3aPYUA7zBjLyGa4VaLNQtrrhsALqSHpUD9MijaW3zRci6hjAECRV jMPpsFr+CCXmW+/mSihraKssvkgp9qWZYmI0cS8nJzXo0WOIcr+GKGZcl2qf58KtU7GJ Rj8Zk07oQ822K4N6Ul2lQmCTPHOlhzkh8I8jd+ZVhceB3B70Gzo1pX05FwdbTmMDyG74 Dqi94HTPs0mjw2oSHyzrck00A7W6cxGtPw1YliIwoO2lQ0KHvNYY4kkKbR8Y/T9JYmMd eSDQ== 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=VRTGHEZ2P8IOenNpGB+9Wp9aVSXnSjOQvSDcZRVNsO8=; b=vsE+9+YFs6A351dGRoYPyGQezQ/TsVV5exdza3HFu6Sftm0cQayAFNzMEH/kmjh3Wi kpY7p981h257W/36ER647fuCieecyyey0ewuWKWGx8+wyEawelDhif0i7ODRctL0hHke YTJjAZ6XdN3OPAS5j7f+vdDjoeFBXghlDiGzc1cSBoEw3R/joHv81vLstsMQondzOCuo Yx+eCLPuepYtMIQ10KQnbQlZnl4l7/jfhFf89hr3b1SZqnbkDkFmag/uCdI73EErI93i aQB2N39zIiWpm1j/PRj/0q1ARUuYb1AMSwOU4Og/gjPpLo+Hqqb6u6um/g73asYXSL9p f+fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=eDsDWskl; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 193si55400091pfv.108.2019.04.17.09.05.54; Wed, 17 Apr 2019 09:06:09 -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=eDsDWskl; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732811AbfDQQDu (ORCPT + 99 others); Wed, 17 Apr 2019 12:03:50 -0400 Received: from mail-yb1-f193.google.com ([209.85.219.193]:44768 "EHLO mail-yb1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729940AbfDQQDu (ORCPT ); Wed, 17 Apr 2019 12:03:50 -0400 Received: by mail-yb1-f193.google.com with SMTP id u187so9290350ybg.11 for ; Wed, 17 Apr 2019 09:03:49 -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=VRTGHEZ2P8IOenNpGB+9Wp9aVSXnSjOQvSDcZRVNsO8=; b=eDsDWsklfWOL2hK7nDALTNMMlTlJIAJEonP3lzTed+JBPFsy1zrHu5SfdLbRcQudn3 vvGH2YGnaYPplAORrscyf+5TkmpiilGWvS6Xzld53D1WN94AVV5fvBJ6FvzmtW7K1V2u eF2EgewWaoAURpfkJiITXWwUHrro3eMOkD1XVDiIryzdAAsDFpq6JyqqhNHCrSzEXNXm fKx6TXJ1tE8HLk9w8ij1TqxuHD7QqxHT6ySUFCsKnTzXOat6L48ifdDVtD2KWNwqkzye 4jUMSvyYPhGDH4gX5dSJDL1H4PZdCtqaoYYVamJqrOZL4vNQbUp/mj3z1qlY3U3vzZEU /Lgw== 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=VRTGHEZ2P8IOenNpGB+9Wp9aVSXnSjOQvSDcZRVNsO8=; b=fB7BgTF7jYXJWvuB0alS3yAdaxQkN+8fWNGC3Y3UNIWk5S5mlWCm4aT7N4wb6t4Wsm JlBK7mL+JSrV2wwL8FsuLFM621t4rroPIBFKpZi//1UTmtiQhCo7IVfeMks+spgKoUNQ CUwyM/eYqRp52oKO5IYMkViA+EOS2dyEG4AWLlYU677EendumbXKL+rKo8BpfXibWnO9 Z/LSZW/IRJ+94G8pPE3Iw3zVCvEvh9Rcx42x+fy3/B7lbjA+iIi6yRYDcO2Wo55bFWiX x6uinVcOtUaj34ClYhTzIsuLjoz3D9SsaZXUcYaLauyNe5VXKkxQnVhzaNRS0iG2frPo a8Ew== X-Gm-Message-State: APjAAAVnXdz837VKTbTK3UBPI6k0eTYDwSuOjdxnAbnq/vF4RH7i3Vyh KAWQzknLdq0TpTj2mWMrmhUouA== X-Received: by 2002:a25:9784:: with SMTP id i4mr59451217ybo.394.1555517029056; Wed, 17 Apr 2019 09:03:49 -0700 (PDT) Received: from localhost ([2620:10d:c091:200::2:fc54]) by smtp.gmail.com with ESMTPSA id l82sm19329426ywl.6.2019.04.17.09.03.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Apr 2019 09:03:48 -0700 (PDT) Date: Wed, 17 Apr 2019 12:03:47 -0400 From: Johannes Weiner To: akpm@linux-foundation.org Cc: guro@fb.com, mhocko@kernel.org, mm-commits@vger.kernel.org, shakeelb@google.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: + mm-memcontrol-make-cgroup-stats-and-events-query-api-explicitly-local.patch added to -mm tree Message-ID: <20190417160347.GC23013@cmpxchg.org> References: <20190416015132.yxxUAu8Rx%akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190416015132.yxxUAu8Rx%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 06:51:32PM -0700, akpm@linux-foundation.org wrote: > > The patch titled > Subject: mm: memcontrol: make cgroup stats and events query API explicitly local > has been added to the -mm tree. Its filename is > mm-memcontrol-make-cgroup-stats-and-events-query-api-explicitly-local.patch From 65f026fe5481f8dc32b3dc3b97994f8cdc82dd17 Mon Sep 17 00:00:00 2001 From: Johannes Weiner Date: Wed, 17 Apr 2019 11:08:47 -0400 Subject: [PATCH] mm: memcontrol: make cgroup stats and events query API explicitly local fix The lruvec_page_state() -> lruvec_page_state_local() rename should have been part of this patch, not the previous one. 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 871c661ca8be..6e99a8b9b2ad 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(lruvec, WORKINGSET_ACTIVATE); + refaults = lruvec_page_state_local(lruvec, WORKINGSET_ACTIVATE); lruvec->refaults = refaults; } while ((memcg = mem_cgroup_iter(root_memcg, memcg, NULL))); } -- 2.21.0