Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7987599ybl; Thu, 16 Jan 2020 08:49:35 -0800 (PST) X-Google-Smtp-Source: APXvYqzAl4Ya6NVJDMX5P3t/mGeF/wvIcgK0Bj29XNr9qGl0gdnaAzZkMunqIwApfUpp9sYdtP8T X-Received: by 2002:a9d:5786:: with SMTP id q6mr2647379oth.164.1579193375451; Thu, 16 Jan 2020 08:49:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579193375; cv=none; d=google.com; s=arc-20160816; b=N5dns94LUVWGCEtaYg0tAayxiktZLEmrcijmbKqnnMozCMskSHdj/55WAwQOoTtFnZ AjbarSB4Z3b29FxwuCMrK0Xw9gxX2oN0dOIZI5lKjIoOy5upVdgcpGNfai0zKvMDqAwv tGmCtehq+T6R/uovk6gF7DFe3TM9qn+t8qYuCvgLQRd0ne3TFxKqXiowncXg8NXOg6VK zxGlsTKWoQbUYS44hrd506AbHIb6bOKeaJroLT1Q1ny2gi1DM62neFIVGJ+AC1sx1aU8 vcn0jeHFKq1N2wS4GcVzGHGhfm7qWzaNjGBxa9ikFLIgu4FY1l/tQRKVgUjWnnHVeOXm IjPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=D8oCauuYRE1SlMMis3dug2fzKpE+RxnAnTLSLcxoqrg=; b=f7GYOyCnlh+Ka2TO68p0ublm9CWTSq7KzCxSD5aDr76QRW976QnrIPQgKwgB/LM6jw SaB8ViD/OFFsT0bEiVjI0067mozhtJDsSIlR57WpDuehwwB9FNdHtiZfuzkLAgKmSOwg FZC0b7CgfqDt4l0komoL+kSDQUus+eiAWE3HJTdrM08uxNZF3MmdjaGATeKS5q2BDi+3 6aeCHmVmZGID25urr9Zk8T4Ycub4gsqwQbkzr289OAkH0WHXarxeRwhbP2am0tFSKLDl dGX3SYyUXUEkKIoTJoXRZE9PuyJI3b5Mm5HnwE//gZgvkfD+qINekvYiB1R5+piws8Nb XtxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b="L4YqFRv/"; 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 l14si11496327oic.222.2020.01.16.08.49.23; Thu, 16 Jan 2020 08:49:35 -0800 (PST) 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=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b="L4YqFRv/"; 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 S1729864AbgAPQrJ (ORCPT + 99 others); Thu, 16 Jan 2020 11:47:09 -0500 Received: from mail-qk1-f193.google.com ([209.85.222.193]:43984 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729830AbgAPQrE (ORCPT ); Thu, 16 Jan 2020 11:47:04 -0500 Received: by mail-qk1-f193.google.com with SMTP id t129so19699050qke.10 for ; Thu, 16 Jan 2020 08:47:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=D8oCauuYRE1SlMMis3dug2fzKpE+RxnAnTLSLcxoqrg=; b=L4YqFRv/HIosI38aRfTT9RUoXYUj5gQCPC2lArCXXcZhT8t0cWEC5wVZA8qKxvlc8a kFYGvUo+HfNgYQP5yPBmaD3GAw0/rCSUBrGiyK46FsXGD+FxCHNdf3wU6/EbRw6drZdM BaaqTF8xakilbxpoHJCvVUvFlAVn1cjTacfc18AokSq9CqlXbX7wNG6B13LCivkmaGXV o2644W/3TW05Zf43G7sN96NwNRdIoFERGAo5K2JsFxDugp6M6REY7PisyJhaMFRram5w hcKpzOqOXD8LemsJxsbLKLg8RobdeM2oxSb2ZlzeQUlTRKEV0tW5CN8EchDmUYAP6uAb 1hFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=D8oCauuYRE1SlMMis3dug2fzKpE+RxnAnTLSLcxoqrg=; b=DEIUULvw8ofzEahmDanGShwg859wCyAPEDvQf1r2CndPevmveBaySh5eypvqon61in mlxiHQfNDdkOARfEKGlJ4/gP5LdP6NcjYxW4TttmfVFZnwx9u/cXLxkj699u1Yo+5AJP nEkZZ3hqq5U5NKkSzRZkkfdfne9mlRYN2u4LdJBNaDkTtEWIiOTgx7BWHbHkEmyXT1Dz 1izAAEfiCv1b6dNYFe8ZwLHeX80hQqKy5Pf856kmrRU3WkS4mm3lV8N0XK/b7iF8g6G6 vCdrViK9JzDTOcvLED8CrWmsTDsiO2MsVmqkHTq4FXmwAfIrNvJ4YTNq9KwIxbe/+6rC RUQQ== X-Gm-Message-State: APjAAAVcCvBBMhMcTm4HVf/irrW/7UKq7lVNqQWn/oUWDiQhiPyfOo5m yrzAapgwtXwr17c7tD6SWNUCIw== X-Received: by 2002:a37:68d5:: with SMTP id d204mr29461217qkc.171.1579193223959; Thu, 16 Jan 2020 08:47:03 -0800 (PST) Received: from localhost ([2620:10d:c091:500::ae73]) by smtp.gmail.com with ESMTPSA id t3sm11697374qtc.8.2020.01.16.08.47.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2020 08:47:03 -0800 (PST) Date: Thu, 16 Jan 2020 11:47:02 -0500 From: Johannes Weiner To: Roman Gushchin Cc: linux-mm@kvack.org, Andrew Morton , Michal Hocko , Shakeel Butt , Vladimir Davydov , linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH v2 3/6] mm: kmem: rename memcg_kmem_(un)charge() into memcg_kmem_(un)charge_page() Message-ID: <20200116164702.GC57074@cmpxchg.org> References: <20200109202659.752357-1-guro@fb.com> <20200109202659.752357-4-guro@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200109202659.752357-4-guro@fb.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 09, 2020 at 12:26:56PM -0800, Roman Gushchin wrote: > Rename (__)memcg_kmem_(un)charge() into (__)memcg_kmem_(un)charge_page() I almost bluescreened trying to parse this! > to better reflect what they are actually doing: > 1) call __memcg_kmem_(un)charge_memcg() to actually charge or > uncharge the current memcg > 2) set or clear the PageKmemcg flag > > Signed-off-by: Roman Gushchin Agreed, this is better. Acked-by: Johannes Weiner