Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6128700pxv; Thu, 29 Jul 2021 07:11:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNPu/D8WyAPVxLC3UwR6nChw8u8vl74bTYy30h0xCGo0PaYdatsGJx/Rl0XubIa0LLko7C X-Received: by 2002:a05:6e02:1a05:: with SMTP id s5mr3789778ild.232.1627567902431; Thu, 29 Jul 2021 07:11:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627567902; cv=none; d=google.com; s=arc-20160816; b=Sfiu4OoFKMwkq0tMSOM1x+czcUpY0VbygAeGxfJxINV+mufsYw1nIpmd/M2+hmg6FT GefOSYtHFmVg+RZ+kMJ52uYq6DvyvmHAt7C3Jt+4Ik9GRJ8P5PjCMyAyFSBu9Mb2633s c3XJsKbOWqav2ninb33JmHxCnVJZLb6q/N0UuFHyAFCl4Z33tCYMzEmKfq2OfkztViOs ZYszU0uVWCe7G3nPmCb08yL+Y0Ce9fVEv7xaQns1W4m+NxQbnCLW/GaTG0Kmz3uAETAv nbcC11A633bbrVHjoQi29ptVlGwV9Bbl+zoOx8FGgHKXJ2cgnAKxAdGV5Pc4Hyq1ADvB ltYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=lwNLTldvysoG6tP7eIB3Yg8TEfTEJ3xDLJQLZ28G+x0=; b=jvS4zvWpgnj2D4AdJ1zvi2w2UTWEQoXaywlhrjR2jSKbKFQtU8F00l8h6msP/4hfR8 f0k7FyZgm3zF3JGHpo6ZqHG5h4d061rRAIJxQYpnnWCpIcBHciNlxknsOCKCAKQiBZLr U5pcBFY7xkVhJLnOjxs6sGw6+V1jSe+lku0sIZSLfRdWOEagILsq3mHYALTSMbmwLcMu MEp4J/GQAo56QY/zGnKolvUrskWosFoZmEnVL0MxRBeaq/WoY8PX0KTsdidI3y5YccN6 emb0s8txLkXrcQMslrVsSDRBU3hqS6H6S/647pzqc9cXiz8IzGE4Kc1srWbdVxxi/k9G ZAKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ca8DsYUc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q10si3524321ilo.62.2021.07.29.07.11.30; Thu, 29 Jul 2021 07:11:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ca8DsYUc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238493AbhG2OKD (ORCPT + 99 others); Thu, 29 Jul 2021 10:10:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239404AbhG2OIj (ORCPT ); Thu, 29 Jul 2021 10:08:39 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E03D5C06179F for ; Thu, 29 Jul 2021 07:08:10 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id d18so11264300lfb.6 for ; Thu, 29 Jul 2021 07:08:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lwNLTldvysoG6tP7eIB3Yg8TEfTEJ3xDLJQLZ28G+x0=; b=ca8DsYUc24s41ooMqz6bT/mgYTru4NdbtwqBEbRuShpsTGyE31LKnPMoDmbN6HJgae T3XclT4Mp6G2PVuj3pAxbeBDiW8zQ5b0M8gOBAbQQ1kKb1evXN8CQOArbqXjCeQrNh4t 5Fwwt93YDujobI3MgwpyuzQeNcJpOFC0A3R5AHrfpGp5BwqrXLaohpnhngja/9BPCg8K ATNtt/CjGXQp82sXcI8UXuSlFo3fBTtskkQWH/euvVFcgTl++V+fKe9hXFQK4G97jmxE G0PzqU3GabBA13Y0IQ40/T8ckbx6nKyWZ+69XG8cWNXqy/h3FzpZ74FKsD4xvbT5Z7q0 NpkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lwNLTldvysoG6tP7eIB3Yg8TEfTEJ3xDLJQLZ28G+x0=; b=PJzt61lM7Z4xinoK84cQxKbciOTTzt597Vh284vy82mCe4VLVz+NpmU/6APHdhC7K2 5S/sYCHJhIYmbG4BI3J0pOMnpMpTmNJbDRPbSdGavof3rk3gTECDLzSowg7xga1Fjw5E K8vooejby2oPAcUPAp9usWFs7vQIQAn5tzGKzFJ9vmsC1UW1jMSja1rBD7eESnMuhVIy ngEIETwNLlZkAot/OEJQZL/ryF5KWIbKP1ET/8wL0/c58A5sA/Oduown8p5LTK+CW2iM R0njDPmTWuRwV1rGBDvrjPFQNE1Q5BJ+kyXFyhoJxvpG9SSUlk4hKpRmg6+LPEV04iSQ 1zvg== X-Gm-Message-State: AOAM532V54kQxo1ytO55Mpyh9c9fIlw3fanUw9pDU557C00+iQCvqw8D cEda08TP1lvye7AlPnQz/PGRZH+fHrXyrZeSAa57Ww== X-Received: by 2002:a19:ae0f:: with SMTP id f15mr4037438lfc.117.1627567688416; Thu, 29 Jul 2021 07:08:08 -0700 (PDT) MIME-Version: 1.0 References: <20210729125755.16871-1-linmiaohe@huawei.com> <20210729125755.16871-2-linmiaohe@huawei.com> In-Reply-To: <20210729125755.16871-2-linmiaohe@huawei.com> From: Shakeel Butt Date: Thu, 29 Jul 2021 07:07:57 -0700 Message-ID: Subject: Re: [PATCH 1/5] mm, memcg: remove unused functions To: Miaohe Lin Cc: Johannes Weiner , Michal Hocko , Vladimir Davydov , Andrew Morton , Roman Gushchin , Matthew Wilcox , alexs@kernel.org, Wei Yang , Muchun Song , Linux MM , LKML , Cgroups Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 29, 2021 at 5:57 AM Miaohe Lin wrote: > > Since commit 2d146aa3aa84 ("mm: memcontrol: switch to rstat"), last user > of memcg_stat_item_in_bytes() is gone. And since commit fa40d1ee9f15 ("mm: > vmscan: memcontrol: remove mem_cgroup_select_victim_node()"), only the > declaration of mem_cgroup_select_victim_node() is remained here. Remove > them. > > Signed-off-by: Miaohe Lin Reviewed-by: Shakeel Butt