Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp909837pxb; Fri, 22 Apr 2022 14:04:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfIh45QFtdeCVp2fBOKKUBfDgotX3ElXDUUyS1iA+Ro/6STHvIda2dno3LsGDqPCeeiqg+ X-Received: by 2002:a17:90b:4ad1:b0:1d1:41f9:6125 with SMTP id mh17-20020a17090b4ad100b001d141f96125mr18260133pjb.137.1650661463306; Fri, 22 Apr 2022 14:04:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650661463; cv=none; d=google.com; s=arc-20160816; b=ZeHEeUYsu2Dtiq7+JC0wE8hsM1B9fAm/kEn5iCKQlBoz4O/tK9N0+96b8SXhdUQ2SV bVVGlf1hVIkcR8R/i2h18CJcYkDVTOx6BhiPlFWr8xzfKg7tpjdl7y2fQVaiI/zLy9AG UzJGRuyCz8yW7kT2B7ZJ9kuEsbXRdX8UZVGU4cg2kRcQlvuLGGsZ5l4pEVceKy7RKKxK iPE+inimRSEzQjTuBkqfINIZ+hQ4t4iOniE9wH5lfl36S+r2i17SrrIxEzXptVbWZaMQ orAWtE6qaXEz6hyc5X+flHw487vsFs0IHWCkMnyV7Kz4S291jn2BpB3ZdzAYMmwE+wqf wIMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NGvnES751j4Kpm/2yGGRz1dr4K8jefdTS2zO6HL1LQo=; b=uRL9H5+AFHVH/ImfVwqhuT3n4JNMMtBZjaI8d37I2vOTXgt8aAElveeVON/Xk43hmq /7J472a4NN0a0RBU25h7EWWHYN2RDHdab/pkQJgFUUeRUttEcv2BlOaLNdsyK9/yV8D7 Ub51JHU1C7nfN4HiqspwRARd3ZAbIcp8n0vBwUC2QDuhfHZVrqBiXjxd1XBr9cb/lRhm /mPaTR2KH0JoTW35FjwFwe8a+hwQSxIeNl52FzuoAUBNJBNBtrmw0pWQcjWhqAsa3GB6 4VGPSfAj8nPCWq79LUOl8GyXQ0pJKWc5S5cOBom72mG3luNeUEvt9R+dBXhwyTFejGJT JCPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20210112.gappssmtp.com header.s=20210112 header.b="ZPAZ/ahk"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x16-20020a056a00189000b0050cf0d2f1b5si2472792pfh.43.2022.04.22.14.04.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 14:04:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@cmpxchg-org.20210112.gappssmtp.com header.s=20210112 header.b="ZPAZ/ahk"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C8F8334E947; Fri, 22 Apr 2022 13:00:34 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244355AbiDUOUv (ORCPT + 99 others); Thu, 21 Apr 2022 10:20:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231440AbiDUOUp (ORCPT ); Thu, 21 Apr 2022 10:20:45 -0400 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49EA027FFC for ; Thu, 21 Apr 2022 07:17:55 -0700 (PDT) Received: by mail-qt1-x830.google.com with SMTP id hh4so3300972qtb.10 for ; Thu, 21 Apr 2022 07:17:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=NGvnES751j4Kpm/2yGGRz1dr4K8jefdTS2zO6HL1LQo=; b=ZPAZ/ahk5mYAJFvXYDcer5zr1glKh98W1H94yE7fJYu3RfJdgQHb+WdQHFWNuH77tn RlRNbAEEiuQi3ELJfSo2IneS6DY7/piylSJtKZ8jsMRSY9wLoi7PPZ6OEg9+xxb7y/Nx 4V2VfujoAiPffqcRvQL7bJum8Q6uGNQmRM84Uo0xYIEVspG2jjnyzH9MszH7L0GBx7P2 oJumAdYl7SAAZJV1LN6U5BZh0EIl4w+6t/TSGJLshuGWFDlfTftMFwDjr1vMk/HcXlMx DGbx9ITYWAVBlbk85h0sIwNvZc6vou9qMuxYT1rEoyEgaAcYn1bHe6KAeyuUu1ZIty0o RMBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=NGvnES751j4Kpm/2yGGRz1dr4K8jefdTS2zO6HL1LQo=; b=bPKVHbI5UfVU4B+sYOS7MJ2M3jsa1Dm+nlEqZ/sy/Ky76+P3x5p4BjYPHKSTIXr8TF j/30STHkaQIzJQGdaF23BgGfwf3wBEqQm2hiXeTwYeTXkgBcNQkJe2AhryHvtF1rSlTf fbgm9mpZnV2iLZjbK6SyBJpFwC92OhSrAH6YQAEYIRIRxnhdL+881bBBH+cYQihnr8oY y4kACuDo+qTWvx2DQp0n7d7LkPd3uyztnfW+dGYNOTURhaxWlNDM2yviagpRH58eGkwg 2roTHZn45LPgKtAOfBwYig2TO7cAQjtpeLgVQXURoN6HdDwxEtod5L0YWuDee+A6yBSS G92w== X-Gm-Message-State: AOAM531U2+Q8GEh2F+bhjqbOIg9PlE9bg2QW9pKsLZX9Du0tiYCt9BI1 JMI1sqbNX6mL6bSekU5cgLajQg== X-Received: by 2002:a05:622a:1194:b0:2f2:35b:28df with SMTP id m20-20020a05622a119400b002f2035b28dfmr12062976qtk.30.1650550674487; Thu, 21 Apr 2022 07:17:54 -0700 (PDT) Received: from localhost (cpe-98-15-154-102.hvc.res.rr.com. [98.15.154.102]) by smtp.gmail.com with ESMTPSA id u129-20020a376087000000b0067e401d7177sm3118955qkb.3.2022.04.21.07.17.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Apr 2022 07:17:53 -0700 (PDT) Date: Thu, 21 Apr 2022 10:17:52 -0400 From: Johannes Weiner To: Lu Jialin Cc: Andrew Morton , Michal Hocko , Roman Gushchin , Shakeel Butt , Wang Weiyang , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH -next] mm/memcontrol.c: remove unused private flag of memory.oom_control Message-ID: References: <20220421122755.40899-1-lujialin4@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220421122755.40899-1-lujialin4@huawei.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 21, 2022 at 08:27:55PM +0800, Lu Jialin wrote: > There is no use for the private value, __OOM_TYPE and OOM notifier > OOM_CONTROL. Therefore remove them to make the code clean. > > Signed-off-by: Lu Jialin Good catch, it's been unused since 347c4a874710 ("memcg: remove cgroup_event->cft"). Acked-by: Johannes Weiner