Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5024748pxu; Tue, 13 Oct 2020 12:48:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCkHiTT87XROUfRy7EFzqX0yyacnIOYiuNKtysntvMx3uCEbFG3EJJAYu9+OubBc/Hl7oU X-Received: by 2002:a50:ef0e:: with SMTP id m14mr1286894eds.5.1602618482249; Tue, 13 Oct 2020 12:48:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602618482; cv=none; d=google.com; s=arc-20160816; b=hypwFr2qBX3cwcogRQykXpK0vfmqXnWMq4sUo/crB65XyYJ9ApKjU37ZnUjSSrlko9 P9zDJo7DqriD4YfELbX37ge6pC2sz5dMIa9yxwkGUEYfK/hWyYHlJ42VDtZpHgaFDfDB qgDmkjIYngcqdYWOyJKwRjsSDMoqJeLX9YpbND7aXjVX3BDP0fobF7TefkHfmEyAThfA NvOG5/tKAdZ8z/y5bsiNIXtgRLMS7zL0b4+/Xosgn7cNySONHkhkNOHRY9uwLvJejs6e oZow4TXkQZfSefGIrMYyt9A12ydGmM9/5GTb8SPYU7bZzAKATnxPWYviy1ForADmuETT 6RnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=XGODVd8VkNSh8S84Wy0CghHqd0aFoaKdhs2B2qvJRwU=; b=ZYIHKKW2jBhCTAM651TiYmDhAv1pI01UUI6DZus5i6Rp2JG/cIHyTsTq3Y6jFyWtBa w/NJzDS1ElYouf+al+nlCiBOgobfdiC+TwYnO1WWA9hI35D+/HVzZZjDDtYH+vsBcPzk DlvIclMvjJbZ/dPLJhn6aGGl+AtFn9NZu0XeGHrHU8lSINKAntYUnEdasXRXwGzedhhq bJ6NMQBurJgTj+7dQMQQxs5t5LGt9BF9xfXp54w5Y/jV6b0zhl/nrt1o5p8Ll6yAgYo1 sTcyxf2oxy8oVn0JNqUHgdpf6WcDkpCzfW4IFyDBxU/8meRYv32xihMf18Cf+oRs3Uo+ n7BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=QJDFWLm9; 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 f26si534517edc.467.2020.10.13.12.47.39; Tue, 13 Oct 2020 12:48:02 -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=QJDFWLm9; 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 S1728126AbgJMT2T (ORCPT + 99 others); Tue, 13 Oct 2020 15:28:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725919AbgJMT2S (ORCPT ); Tue, 13 Oct 2020 15:28:18 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 826C4C0613D2 for ; Tue, 13 Oct 2020 12:28:18 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id b193so310666pga.6 for ; Tue, 13 Oct 2020 12:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=XGODVd8VkNSh8S84Wy0CghHqd0aFoaKdhs2B2qvJRwU=; b=QJDFWLm9JSrh/of7EIAurbQWhS26t3KiBiOYedmnmy5W/mdATsMGEThFkfuueGBiuD yUx1IWye8xXZ5sZSqRsm7uTgnhlhfgCInmdC1BBsnn3PuEIBlmJNZsAgXq9S7zqq0S+k zpgr/O1j/KEq5Hw+fxDBQIwzBRl+pO5bhGB5/7QtKTCJD+aD13xRuYup8hwes+FPXZ8b mHxg4A0iKwEsTeY5xl8BTKeTkxO4qwYgfcqQw1zOCb2g+eBsH/TGzwa8Knmrs+DjzrRa zBVL/4EvNgN+SEuUAdMs2M80hAWa/LAyVCDi8dhXt9t33NkGO9eMsNnF7GkJT+mRbIrA e/FA== 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:in-reply-to:message-id :references:user-agent:mime-version; bh=XGODVd8VkNSh8S84Wy0CghHqd0aFoaKdhs2B2qvJRwU=; b=Gpb8D+/dfQ2mEeCrB01gGv2br8YpRJhMics0kPp/+rvyTvmtzXSL09R4e1UpqGgiF/ QEWFmi3pzMuCqY2o58RGq+spnkYZ1wH005HWzdMWPq0dBhWPH/RuzaFEscLAPeQKuU1i Cg/R3qWlh3n2fXtIv4wHDoD7RLRVAGg7eIneZ8mmrMstPPVOdE/GL0dH3chAqeJSAmKV bWExbhkkDTJmP0kXYoHTBxC8yfmoH5Ajddo7uZJvpunAncZWfeP6oJpsw7xt3mxtsKWV UxD8OiwgKBk4h+uk/bzcAYXRD7hsw7H1ET2Efwx8DSOFoZdomLGw36qGFA7dSaqVR0oi sACQ== X-Gm-Message-State: AOAM530mwIoogB5eTjg1az1l6r205ItTcnfM2n+nl1cPIGAcoeQI5Y18 VeIozMCdTIGeHDfsE+Ufu6aDQg== X-Received: by 2002:a05:6a00:44:b029:152:8967:1b2a with SMTP id i4-20020a056a000044b029015289671b2amr1158045pfk.48.1602617297742; Tue, 13 Oct 2020 12:28:17 -0700 (PDT) Received: from [2620:15c:17:3:4a0f:cfff:fe51:6667] ([2620:15c:17:3:4a0f:cfff:fe51:6667]) by smtp.gmail.com with ESMTPSA id s23sm413493pgl.47.2020.10.13.12.28.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Oct 2020 12:28:16 -0700 (PDT) Date: Tue, 13 Oct 2020 12:28:15 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Muchun Song cc: hannes@cmpxchg.org, mhocko@kernel.org, vdavydov.dev@gmail.com, akpm@linux-foundation.org, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, shakeelb@google.com, guro@fb.com, vbabka@suse.cz, laoar.shao@gmail.com, chris@chrisdown.name, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] mm: memcontrol: Remove unused mod_memcg_obj_state() In-Reply-To: <20201013153504.92602-1-songmuchun@bytedance.com> Message-ID: References: <20201013153504.92602-1-songmuchun@bytedance.com> User-Agent: Alpine 2.23 (DEB 453 2020-06-18) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 13 Oct 2020, Muchun Song wrote: > Since commit: > > 991e7673859e ("mm: memcontrol: account kernel stack per node") > > There is no user of the mod_memcg_obj_state(). This patch just remove > it. Also rework type of the idx parameter of the mod_objcg_state() > from int to enum node_stat_item. > > Signed-off-by: Muchun Song Acked-by: David Rientjes