Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1570868pxa; Thu, 20 Aug 2020 15:01:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzclzxVS7O3J4QqmlWr6GwUbCVhqBdV42bV0gZrWSvf2/bQm3AL1UocjHayA3xnH9aOYNOt X-Received: by 2002:a05:6402:785:: with SMTP id d5mr664988edy.370.1597960867097; Thu, 20 Aug 2020 15:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597960867; cv=none; d=google.com; s=arc-20160816; b=Jt5YAe3tTRelESxdCdzWmQkPNQcnsDxUwAg4DAWuy1KG1RbMS/12CmCjzfpaTQtZKi 7RXq5JnHZ2CwDcoy/17h78SaUa5Kw5SYwvdWTM1OSdIn6jQDrmssV29apKUyi/P29dg6 hYiwy9712RezhYlphJNQd727E/z8a6AlMWuKTPEJv+4cj8sCnraUJleiOWlsfWjuhuRJ QBHU1s8HMu443P963d7+krgl2jToULThe45smOBtDR4kzyCzRpp+yMbRDjGI7MhcvAOl bd0s0G9Tp8dr3EtNY5vDlBvpfwH7wJFWnCtD5uq4YYiyKFnjsfgDE2K9FhY5fDXGFPhB +GHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dhaGrKUZGrplU3FJ6j8umgFZML1T4Qnjaml2sZz9odo=; b=QidkTlunMTwGUrEwtZr97cItdKy6Gb8uYHq/cOlG3ZVJbznmWfi4kVLP5ycD5V/AbN kdXAyv33JJ/w5XF60UA+aGUU0mflUijt6YJbTdbYOWONKt3HayNfLWrMyqVXNWSCVPN8 5ZlnvX0dbMT6SkLg6oSkqAIjIhfk63/vM24YEk8EfpdMuR/NuUyMYAY4HLiWIVP1SiXB rtleQ/dVeYmoqA0FoCF5rGaqkqxi4ER6noB3Ep2PRIFhw6kpowu9KMYAqa1yBTFjnpiT miRNHpt+hFeI5gCzg0gbm0p/Zzs7jwPy/rUkeR3zOH+uiip5gGJhZKlUHRUzPFleZr4v 5v3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ZuKqiQ3x; 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 a3si2212935edk.48.2020.08.20.15.00.43; Thu, 20 Aug 2020 15:01:07 -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=ZuKqiQ3x; 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 S1728682AbgHTVRO (ORCPT + 99 others); Thu, 20 Aug 2020 17:17:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726781AbgHTVRO (ORCPT ); Thu, 20 Aug 2020 17:17:14 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6522C061385 for ; Thu, 20 Aug 2020 14:17:13 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id b11so1659047lfe.10 for ; Thu, 20 Aug 2020 14:17:13 -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=dhaGrKUZGrplU3FJ6j8umgFZML1T4Qnjaml2sZz9odo=; b=ZuKqiQ3xaX3Lfh2PTU894rP8VOkqmdcx27cCOxnOBt7xEFAEjJ3CC+ln9bLTpy1WsS yTEtdUEhIi4Pea02zFDTl3ALkkvTjqUWMzXNZ27pIiYWx6639XGiDITdyKKBsKFk6WzV 4T+Vrvw7laL+WCnbgP38MWDiqXy3tS1pSiGWzbDlvNJU0rOgM6+rqQf2Zsi8qxF+nezl yl0Qn5djgLqI+x4v39W8REzYFed8KfpkMY3tBiFZ3HIPBGmxHylg70foADv47+UiJqzG UK5kl+J9T4QE48lfZ5x5QZOXuJoapDUsHiQaoneEpuMBzXrlRbgMZKaIQN7LPkErMG7P TQaw== 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=dhaGrKUZGrplU3FJ6j8umgFZML1T4Qnjaml2sZz9odo=; b=UctBl0qxLqbZoa1jiIs1E0A76asbWOltoWtT6Kti1G16/FJS9vWtQNiXDTD2lx22qW WghFyDvzUZcE4dY0QywEfpEDda3YhnRe6fqOkLof6QWe6/o6SCb6M1XTCwfkZjpLYR3K 9nLRsptS5RB8tFRFogijp49qhN8znKUtjsbYpsJBB5Gnc+paUtszeQrJ99WfqFZ+TOPc fEXfecBP0OamJxbMwjyJlLvI+qpcldc65dkzWN/cavKSgKl/OB6K/kUioLiWD5uMdPE7 MHYhqTts4EgvZ9O4dQ6xNQYAiD6jcBQTNv4ZV96652taZ7GoTTXfLA6TENqYqoAfoGHd svrQ== X-Gm-Message-State: AOAM5338Dysw0+UKJmszwBm55UYSDamJizRU5TJEjplYkUnhOtg0RtPn ozjAGn+LU9D8Ok8URGij1WvvGkMkDlB/poa7Dj0XrWhU82W48A== X-Received: by 2002:a19:c68b:: with SMTP id w133mr126684lff.189.1597958230344; Thu, 20 Aug 2020 14:17:10 -0700 (PDT) MIME-Version: 1.0 References: <20200820130350.3211-1-longman@redhat.com> <20200820130350.3211-2-longman@redhat.com> In-Reply-To: <20200820130350.3211-2-longman@redhat.com> From: Shakeel Butt Date: Thu, 20 Aug 2020 14:16:59 -0700 Message-ID: Subject: Re: [PATCH 1/3] mm/memcg: Clean up obsolete enum charge_type To: Waiman Long Cc: Johannes Weiner , Michal Hocko , Vladimir Davydov , Andrew Morton , Tejun Heo , LKML , Cgroups , Linux MM , Chris Down , Roman Gushchin , Yafang Shao Content-Type: text/plain; charset="UTF-8" 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 6:04 AM 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 Reviewed-by: Shakeel Butt