lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20180405193213.GA27918@cmpxchg.org> Date: Thu, 5 Apr 2018 15:32:13 -0400 From: Johannes Weiner <hannes@...xchg.org> To: Roman Gushchin <guro@...com> Cc: linux-mm@...ck.org, Andrew Morton <akpm@...ux-foundation.org>, Michal Hocko <mhocko@...nel.org>, Vladimir Davydov <vdavydov.dev@...il.com>, Tejun Heo <tj@...nel.org>, kernel-team@...com, cgroups@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH v3 1/4] mm: rename page_counter's count/limit into usage/max On Thu, Apr 05, 2018 at 07:59:18PM +0100, Roman Gushchin wrote: > This patch renames struct page_counter fields: > count -> usage > limit -> max > > and the corresponding functions: > page_counter_limit() -> page_counter_set_max() > mem_cgroup_get_limit() -> mem_cgroup_get_max() > mem_cgroup_resize_limit() -> mem_cgroup_resize_max() > memcg_update_kmem_limit() -> memcg_update_kmem_max() > memcg_update_tcp_limit() -> memcg_update_tcp_max() > > The idea behind this renaming is to have the direct matching > between memory cgroup knobs (low, high, max) and page_counters API. > > This is pure renaming, this patch doesn't bring any functional change. > > Signed-off-by: Roman Gushchin <guro@...com> > Cc: Andrew Morton <akpm@...ux-foundation.org> > Cc: Johannes Weiner <hannes@...xchg.org> > Cc: Michal Hocko <mhocko@...nel.org> > Cc: Vladimir Davydov <vdavydov.dev@...il.com> > Cc: Tejun Heo <tj@...nel.org> > Cc: kernel-team@...com > Cc: linux-mm@...ck.org > Cc: cgroups@...r.kernel.org > Cc: linux-kernel@...r.kernel.org Acked-by: Johannes Weiner <hannes@...xchg.org>
Powered by blists - more mailing lists