From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 805A6CA9EA0 for ; Tue, 22 Oct 2019 17:06:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 46C8320684 for ; Tue, 22 Oct 2019 17:06:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571763991; bh=2mg1cOWCo4EHjBa6WDRgs/Eh/nSZS8fE6gKfIm3KNdc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=R5Gm4DU3P5H99HJuPZMEdbi9RrVJr4WdXUI+kROFYEStCSHZtJ9WVaZp+Yg+4LzkA agdo5bWmDdholpW+4Fj9ksvffCa/cKvLMHwhE9E10L3FzMtjzrNbXHPPWawvhj1QZq QDO4Fzb180KZTI6OJoQrNU5KMY8aF23Ma3mtUIw0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732473AbfJVRGa (ORCPT ); Tue, 22 Oct 2019 13:06:30 -0400 Received: from mx2.suse.de ([195.135.220.15]:60626 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732371AbfJVRG3 (ORCPT ); Tue, 22 Oct 2019 13:06:29 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 51FB8B88E; Tue, 22 Oct 2019 17:06:28 +0000 (UTC) Date: Tue, 22 Oct 2019 19:06:27 +0200 From: Michal Hocko To: Hao Lee Cc: akpm@linux-foundation.org, hannes@cmpxchg.org, guro@fb.com, shakeelb@google.com, chris@chrisdown.name, yang.shi@linux.alibaba.com, tj@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm: fix comments based on per-node memcg Message-ID: <20191022170627.GV9379@dhcp22.suse.cz> References: <20191022150618.GA15519@haolee.github.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191022150618.GA15519@haolee.github.io> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 22-10-19 15:06:18, Hao Lee wrote: > These comments should be updated as memcg limit enforcement has been moved > from zones to nodes. > > Signed-off-by: Hao Lee Acked-by: Michal Hocko > --- > include/linux/memcontrol.h | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h > index ae703ea3ef48..12c29f74c02a 100644 > --- a/include/linux/memcontrol.h > +++ b/include/linux/memcontrol.h > @@ -112,7 +112,7 @@ struct memcg_shrinker_map { > }; > > /* > - * per-zone information in memory controller. > + * per-node information in memory controller. > */ > struct mem_cgroup_per_node { > struct lruvec lruvec; > @@ -399,8 +399,7 @@ mem_cgroup_nodeinfo(struct mem_cgroup *memcg, int nid) > * @memcg: memcg of the wanted lruvec > * > * Returns the lru list vector holding pages for a given @node or a given > - * @memcg and @zone. This can be the node lruvec, if the memory controller > - * is disabled. > + * @memcg. This can be the node lruvec, if the memory controller is disabled. > */ > static inline struct lruvec *mem_cgroup_lruvec(struct pglist_data *pgdat, > struct mem_cgroup *memcg) > -- > 2.14.5 -- Michal Hocko SUSE Labs