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@xxxxxx> > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > Cc: Johannes Weiner <hannes@xxxxxxxxxxx> > Cc: Michal Hocko <mhocko@xxxxxxxxxx> > Cc: Vladimir Davydov <vdavydov.dev@xxxxxxxxx> > Cc: Tejun Heo <tj@xxxxxxxxxx> > Cc: kernel-team@xxxxxx > Cc: linux-mm@xxxxxxxxx > Cc: cgroups@xxxxxxxxxxxxxxx > Cc: linux-kernel@xxxxxxxxxxxxxxx Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html