Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1409102pxa; Thu, 20 Aug 2020 10:30:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5bVK6sKi/2yHZql7/KreIYMNAEiEpFCzrYcv+uv5HNSBL61iecQjx6cxly3bG/aILIng6 X-Received: by 2002:a17:906:fb04:: with SMTP id lz4mr4539589ejb.394.1597944621254; Thu, 20 Aug 2020 10:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597944621; cv=none; d=google.com; s=arc-20160816; b=D/VYvBupk9ukfMHpuj3jok3wf5JZLZdLQZEn80/s/kX2xO5wCrik80H5PO9uEOmI0/ YzDEsZRYaL+Wl7AH5OoxJVAR2Q4WxXJupWs74W406GZgyR4bYvNfklejPkervCyuyv7Q j6dZTTxBRWmmH7zskJWUMTna4+WoyxaqS4ellKs1Pn6l9yk1ETdVjN3rM+qB/DSgC6+E W647ugBSnOba20SPnoGUdL9Dr3sK+Aye24lakgj9VVaFnlIRlZYXww7zIACSJgzyKTUY FrqtXJASxoJndu00jvdC8HSEgdEe1P/ue6fPSp1+41jYoJu7rSVL1v0zGtlNEdWm7Scb kTIA== 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=BGSTy2S11pQaFof1yGnLyVAv1YOvYkkwg2xvJjtqeUQ=; b=mdFUivtws+oiez0hDIzVsU+rpyNtmNI1c3SbispmqpcU+oNZ8bDoBM7BK+SPuiolpp wf93pyehF6Wj7j+9BF1Qi6XkAbTBAMytWkI7ypbGTyKQrl5fOhCU2IMUg2yhFJTjZypo 6952/mRl+sNVjoHOXSDI4sLgb9A3ZTNE41XqnVsZSBq/gVgOusofZ2wvCrUowU583Dio FYx3Aah36QAqvlYYMLvTC9ktpJQsHoSUFunholXVEhsWWxiwZbt8u1b5jhu24x7chFee OXN2zVauZPI2HKWgKA6I6x0UeB8S+rD/ILGj2Y58WkiElAQMwAU2L5oGsCo5RAGCSNC+ KpGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b="B0zXn8r/"; 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=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jo14si1718966ejb.639.2020.08.20.10.29.56; Thu, 20 Aug 2020 10:30:21 -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=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b="B0zXn8r/"; 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=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730610AbgHTR2x (ORCPT + 99 others); Thu, 20 Aug 2020 13:28:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730441AbgHTR2o (ORCPT ); Thu, 20 Aug 2020 13:28:44 -0400 Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 543CDC061386 for ; Thu, 20 Aug 2020 10:28:42 -0700 (PDT) Received: by mail-qt1-x842.google.com with SMTP id w9so1754150qts.6 for ; Thu, 20 Aug 2020 10:28:42 -0700 (PDT) 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=BGSTy2S11pQaFof1yGnLyVAv1YOvYkkwg2xvJjtqeUQ=; b=B0zXn8r/1mchT7VpWpZ+mN4JB+LQTOAcThKwvNYAguEIUDOZHwwTrdR6gzmQZ5tubZ nadwJJP0FhhTUc6qtozlaIcQuD/FFdRoOqCSSFPC20808u50MokVC+zzcj74bSNK3564 K2rPaPV6/LqFSt2EYvyidWPeBNnkH5k+UUHnDDp7LsHM+QUZl4RIfl0sMDasq2fgoDTh aEiFbkQ9IhmoLjkYAaQc2VPQYaxtLY7ONExn+cDWgW0LH7qwa/cgM2WtSkYRhS29jGEn +HZQ+jI+GqR+PBIfIjicJ0wnOj2ML6oSYHPVNMYabbRVYTlqLboSPlY8YiNQkmtdg/2E 7wZg== 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=BGSTy2S11pQaFof1yGnLyVAv1YOvYkkwg2xvJjtqeUQ=; b=SEdaBxZlZUkg41PaAlPREptAb/bdmTSSxuK366r/OWIArB54eaW1hJozTU055rxMbF eAORcr/OQffWBcHbV2IZcC1mEQZgsQ9Zybkm1TS27JVLMdZSZrj8tG7+aVeJQAv5WSkg Socegeoolz5sn3nub9VUwgaQB1t0uuiwOeiictXKyI6PbD5G7HfRkohqEMdoFKwjpsCf FZVRL4fruDtAORzrs23S9lcxjFCP5NI16ziBTupmTZBsMXHHm5HKB9G0bv8KTA2faW4W uPQyCepWszT02RJS84UcdBEuaNPU0csXf2Xq9eG0RWEsTM44oqxV9EnesMDTrs3XLcn8 NCpg== X-Gm-Message-State: AOAM533OkkgI0gc2Z00Y7I1LqYrqsVXogsitR6iw+JzkJZ1x00qpXMyx sKLZFmXx5lwPmD8pOpKqqT4EWg== X-Received: by 2002:ac8:7c87:: with SMTP id y7mr3692080qtv.375.1597944521618; Thu, 20 Aug 2020 10:28:41 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::1:3cdd]) by smtp.gmail.com with ESMTPSA id r188sm2708541qkb.122.2020.08.20.10.28.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Aug 2020 10:28:40 -0700 (PDT) Date: Thu, 20 Aug 2020 13:27:26 -0400 From: Johannes Weiner To: Waiman Long Cc: Michal Hocko , Vladimir Davydov , Andrew Morton , Tejun Heo , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-mm@kvack.org, Shakeel Butt , Chris Down , Roman Gushchin , Yafang Shao Subject: Re: [PATCH 1/3] mm/memcg: Clean up obsolete enum charge_type Message-ID: <20200820172726.GA912520@cmpxchg.org> References: <20200820130350.3211-1-longman@redhat.com> <20200820130350.3211-2-longman@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200820130350.3211-2-longman@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 20, 2020 at 09:03:48AM -0400, Waiman Long wrote: > Since commit 0a31bc97c80c ("mm: memcontrol: rewrite uncharge API") and > commit 00501b531c47 ("mm: memcontrol: rewrite charge API") in v3.17, the > enum charge_type was no longer used anywhere. However, the enum itself > was not removed at that time. Remove the obsolete enum charge_type now. > > Signed-off-by: Waiman Long Acked-by: Johannes Weiner