Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6594086pxv; Thu, 29 Jul 2021 19:41:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqYkBjfl5dm6gb15Vmp62hIhmiTsezPLT5QJ8WktTyUzpSYAdpD2oWllEpBB/N/2kG7OAU X-Received: by 2002:a17:906:8047:: with SMTP id x7mr410748ejw.453.1627612911120; Thu, 29 Jul 2021 19:41:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627612911; cv=none; d=google.com; s=arc-20160816; b=VQOO0WaFT6IEOrP5d19qPEJ9nvu8IuJBOU8AlcTZf1zdbYZb3NmjbE8s4sKh+hBX2l g7/IShVJCgP4IrOodZND1V8zj7gZWSOM76fWLE1nBl/M3A9Tq6jADSZxFHIA3Z9HseX6 5oRzbL9ys6IKga//8adR/8jhqP2lvmHRbbYi5fpXA9WO7n8f5OSJltnq/VYo+/55X0U1 W46VjliADbW4R42kQhYSj3ar8ylIa4z73whceOYF4rUuTfjYrESZ9c6JEUTGhsiGoT4Z npPbK+R+H/ckMGY2WYmp8rKwHwG/0QGTwxmeoLe4rgdI4ZjtKo/A1tEWtgUwKsbYnFlk 4dsQ== 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=P+arnXaTaJFGxX6D4lzafx9633DBfkJpPAK5Nf+O5Qw=; b=g0clmDwWsxOBVBRJv8aK26OPvQYsmDoYHhPNZiFg51YAQrP5OC2BVj1fKw4ucXk6u2 AoRHmP3c+PaMojylCc4kf4dQMQSVjqjb8Gz7qzP8Z8WQLJHxIEhVkUqFnjMy1halkrf2 xF6hF+kK+auqMYfv86ooEtYtg4YsQEe16Qz71N5TE7I3z8uy2vOeKiNE77rugaEOdqy0 VynddOR+LR+n+O1c9LFLdhOVvfHI7YgyeLlV635ayGjZ2qe9JLzxZHUJvMPTDFCuhIN4 g3XxizCY0+Nhky0VpklHfq67XnrTrhtUb1S5KQtBAP8LjjmPiJqgyrr573Xi7c1a6Qf5 SDPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20150623.gappssmtp.com header.s=20150623 header.b=cBgyvqCI; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz11si284303ejb.158.2021.07.29.19.41.28; Thu, 29 Jul 2021 19:41:51 -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=@bytedance-com.20150623.gappssmtp.com header.s=20150623 header.b=cBgyvqCI; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236297AbhG3Cjr (ORCPT + 99 others); Thu, 29 Jul 2021 22:39:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235919AbhG3Cjq (ORCPT ); Thu, 29 Jul 2021 22:39:46 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFF3BC0613C1 for ; Thu, 29 Jul 2021 19:39:41 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id t3so7184121plg.9 for ; Thu, 29 Jul 2021 19:39:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=P+arnXaTaJFGxX6D4lzafx9633DBfkJpPAK5Nf+O5Qw=; b=cBgyvqCISrEPhMOzj61PGUaSCvJs1xoa9d/Yx1CcLHIYtPm60B0d7pcJ7ynvT4w3I6 se5akXAXqk5sZBpgoxuQXLy3LYgQZpIfK7dW/YFHdCWQd3lShO0vNt/hoEUZ5rtwQPfu BqAnum2fv6J8DX+qHj8ylDP9eXCw/rtQvCyWD/GyQG58JLNadwSrSURiX8L6vQNOi6wM BqCwpB2w+S8vdyG9+4r4PyDKTpxHtm7OOzw6kahoIDyUclDGepEOplKqWnrWqSYJJfY2 bEv3Ip6h9ZSOwIJVzdXY4RZX8AYvZy7geUw2GguQgD9iQViLc9qSAq5H0LdjwxFOt0g3 jrIg== 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=P+arnXaTaJFGxX6D4lzafx9633DBfkJpPAK5Nf+O5Qw=; b=ub1SI1nFXJzZrqOAj2lV7/tSrxniXr3OZRwrHM40jORfS81O8V4p19XEnBfpVn+TcQ AV5eCMA4Vx1niiEs692USJl05bWF0uzEN6iw8uCw1BalSARxwc258QINDi2czuxuRRf/ pxvqGY0a+WeZk10KX0Z2dJEiJlwlO2MQjCd09b6nKrE7Y1K0Dol+iJKmgkG6cMqJkPx6 c2pvhGLIzT2WsTzYitTqpY9Vv0Eesuqz0iELHP3HrhRPNAYwzi2nY0Y0lBfIRK54a7OT Y6m+OTnhhZLs/2xeWPecszTuODvRF+I+d6RApc23UdjqoxvvrRHiolcapQt0EH75nc4x ZLxw== X-Gm-Message-State: AOAM531jR7zyCxXEaJAXdjHJi/KvXLiTZ3OmUCCkh8ZVEgraofB/EiZd fWnfwZv8cKsjmTULn7V3GmrdOq3rDE1zZJxWv9qQJQ== X-Received: by 2002:a63:cd4b:: with SMTP id a11mr195024pgj.273.1627612781609; Thu, 29 Jul 2021 19:39:41 -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: Muchun Song Date: Fri, 30 Jul 2021 10:39:01 +0800 Message-ID: Subject: Re: [PATCH 1/5] mm, memcg: remove unused functions To: Miaohe Lin Cc: Johannes Weiner , Michal Hocko , Vladimir Davydov , Andrew Morton , Shakeel Butt , Roman Gushchin , Matthew Wilcox , Alex Shi , Wei Yang , Linux Memory Management List , 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 8:57 PM 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: Muchun Song