Received: by 10.213.65.68 with SMTP id h4csp2305046imn; Thu, 5 Apr 2018 12:33:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+yXfb3/c3p10giu9JOzicDiLc6lSrK9ujHtJLTN73OH3chitp66juTh1NSAtBgOk8IVmZt X-Received: by 2002:a17:902:33a5:: with SMTP id b34-v6mr23949583plc.232.1522956835894; Thu, 05 Apr 2018 12:33:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522956835; cv=none; d=google.com; s=arc-20160816; b=Q2NJtvhMrEnK3XI6jhGhQM/ZA6TzCJUqvMx5YeDtPrw4duEC43bvzo5bZTGZO1kSAS 8I2uNPlVDABikD+doonXuDMzRvjzrVJ2+ySjL2JQEipZdxT3xo9WI41oOHmRXosEOWzb 1k/zqvMnVyrc74eoiMv/vvim/2cwGamJggcH9duzTIKPshrw/C0dKTaPay1Q1/fAMShi ITf/TUxQxzq8O0spYchiuuuJxVQGPHW9hAV6tgyhIe5JL4Bghgv+V5DJp77rzUDORF40 KvO3Qv7Jkx1vqABwOydX3ha8liY7IU4Ici+3Dvr2SQ2Uluf4KErQRn/MpBTS1il3uRiv DHEA== 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:arc-authentication-results; bh=N2kGry9t27sFeszxtEvJBbbNjdd8b1RGha2SuQh7USI=; b=Yx6ftSrGz84M3ne3fwRp5IqZ5ZJiMCoLCTKHfqrZdoh/mTPiv6axOaANXrmHdMpR1t wzw3rxO4C/gZyf/O5kn/+7Ey3PL6vsSjbMCk7l+ojZimwh2vK6Ren9qB8INBu/cGO6km ian+LSehnL078Y1P1FMUS4vBc5lahAxcgrPe3OnabI2dDcKOXD6bbV6cE0Mlea5BLNn+ Ff98AevVST3pAMaSZ6817tLEY+l8hde82m7up8oDk5U5CDfyaXIjrr177NsOyfJF4XZ0 zbj+dQ6vzqTgAfubmFY6mk16llD5Y9l13ZRClovAR/+OMmy6qZx9JQeO1ySrnWP8jDbL PXXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@cmpxchg.org header.s=x header.b=DXEt5ODW; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 202si6123534pgb.408.2018.04.05.12.33.41; Thu, 05 Apr 2018 12:33:55 -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=fail header.i=@cmpxchg.org header.s=x header.b=DXEt5ODW; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752463AbeDETcZ (ORCPT + 99 others); Thu, 5 Apr 2018 15:32:25 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:50200 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751573AbeDETcY (ORCPT ); Thu, 5 Apr 2018 15:32:24 -0400 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=; Date: Thu, 5 Apr 2018 15:32:13 -0400 From: Johannes Weiner 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 Subject: Re: [PATCH v3 1/4] mm: rename page_counter's count/limit into usage/max Message-ID: <20180405193213.GA27918@cmpxchg.org> References: <20180405185921.4942-1-guro@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180405185921.4942-1-guro@fb.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: 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