From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Weiner Subject: Re: [PATCH v3 1/4] mm: rename page_counter's count/limit into usage/max Date: Thu, 5 Apr 2018 15:32:13 -0400 Message-ID: <20180405193213.GA27918@cmpxchg.org> References: <20180405185921.4942-1-guro@fb.com> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cmpxchg.org ; s=x; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=N2kGry9t27sFeszxtEvJBbbNjdd8b1RGha2SuQh7USI=; b=DXEt5ODWAPThKlSGE2HGLv+Rsv 7hAVXAG/yOPI+7ZZGwB5V3tDxpZC35Z/0nr+56+EYlgsBFOteC1AlcL/dFroJpN3nhBxQ8KcxSxyB pvEAXFiDkyG3jR8uA2WoAgQc+xPrAZ7MzzvhjufB3r0xM5vE02Bi1EgiYSJabTvXjUik=; Content-Disposition: inline In-Reply-To: <20180405185921.4942-1-guro@fb.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Roman Gushchin Cc: linux-mm@kvack.org, Andrew Morton , Michal Hocko , Vladimir Davydov , Tejun Heo , kernel-team@fb.com, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org 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 > Cc: Andrew Morton > Cc: Johannes Weiner > Cc: Michal Hocko > Cc: Vladimir Davydov > Cc: Tejun Heo > Cc: kernel-team@fb.com > Cc: linux-mm@kvack.org > Cc: cgroups@vger.kernel.org > Cc: linux-kernel@vger.kernel.org Acked-by: Johannes Weiner