Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3559241iob; Tue, 17 May 2022 02:40:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNBnw+vq/t9B2vKZvtjTwwUmKmqbT5odQzvVBzmVQsvgUxghxWMxyE4VqDJThbRk24uEI4 X-Received: by 2002:a05:6402:11c9:b0:422:b76c:bef8 with SMTP id j9-20020a05640211c900b00422b76cbef8mr18412481edw.238.1652780443359; Tue, 17 May 2022 02:40:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652780443; cv=none; d=google.com; s=arc-20160816; b=gfMPb1TgK29bzC5b8kqc9yCDD9wgX/A3p1NvRqMOHCIy0pRzq2TSaMQdiJ6/LoLj7j rnyVNACXqI23ouITwkIwYXJyVzwNB0YAA/QkukKVszMNgMh1vn8Jc3Kx+7vHsr1UMZ7f yhpLv43GrSb0wrAe/z/wqoAhD0GcHPxFCKD7X2ENKc5eOm5jq8vtOxw00Yjn9cleal3f uPHXewpHfyG/1yBzhqZqJW1L0rcE2UJ93bzTU2TN9yU9ExLzzfCOnhSCE4fG2jcqoIQm HRaY1hS+j7zMmbrxotpO0ppJHDmBY6F3m0MjRpE3XFkAZFD62L6lBpN/wUs7vaeepWf0 x9nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=niDVomHWwkj1X3m8uRV45HIt1hqCr2KxXgjlHwPIKZw=; b=OQf+D9TaKgSrhwTZJdbfjmDL3nW1ciNkKiZFxhoZagGyyDeR36D8+19Fl9epwClQxF r/66RgZAOGlkvO32inkFzGuTOlW2peZi0dsEiLSK8+m8jMkIVp4Jm31WkUk7hOU8Gz23 wpiBCIfmaDsZQ83BYPyOQi+y+8Zb4ly0gyhf/zYz6fz2weY+GftinUY6T4u9H1iXk4Ln mpSUwgXJhRUZu4GgVl6STgxMVr5hUAS2jeD3P5EpclPsTCvHgdvAMis9h5rFdy/xkLuM r0achn+/Vb8zcbbBDSRz0sdM/CinV+iAVwkMa9V9R+WrIpBeLXJ1Wqw8/BcJ6esgTUed i2Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=KxLOcxyT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id an10-20020a17090656ca00b006f5a8added8si2262399ejc.125.2022.05.17.02.40.17; Tue, 17 May 2022 02:40:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=KxLOcxyT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238022AbiEQDNJ (ORCPT + 99 others); Mon, 16 May 2022 23:13:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230417AbiEQDNH (ORCPT ); Mon, 16 May 2022 23:13:07 -0400 Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 401611E3C5 for ; Mon, 16 May 2022 20:13:07 -0700 (PDT) Received: by mail-il1-x12a.google.com with SMTP id o16so3321161ilq.8 for ; Mon, 16 May 2022 20:13:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=niDVomHWwkj1X3m8uRV45HIt1hqCr2KxXgjlHwPIKZw=; b=KxLOcxyT1YZOFWo202Qc637ttcdVK7B5an5XESVLniA4Ab/jI52SQicfzWoGA9QNlC OhJgpaVbdEV8KiFIhxZWepcVWAKfF4WsdUMNkZGQLXyByOXy90RATcUOe7uWgJypH379 z4WGQjjO3WFR0SmtoXYCCIOD1gEf/sL1j83hE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=niDVomHWwkj1X3m8uRV45HIt1hqCr2KxXgjlHwPIKZw=; b=FGN0KHfuQiBQgcDTqVmnUH0v2VzsInt7VsKRarmmNIoKp9QVpCFE8G0qN/8r9yudHQ NWrq0M/HP9el5/njl72KnAcdiIYG+TFtod/jECa6CMaarBzrNqB57/3mLLRqYgRRBwsH HLTYFdMEnPjlfFfIvrx6AsLKn+/d5N8F4TzdNE4Z4Y1nPfE/ekcmtY511dQFJ0EKh8JA beEzYDPRV+7PV3b4AvfMpuxOCxtC+PEAUBF9+5hwi2NFgx3qzPfWSjX96q5HGfk13zKR 5SsuEcZZXiAPPhtdAezWWJXkFer9WofTJ98+u7HCx3yGRZs9V3IbsrKgilVOJfaXBnZW q+Jw== X-Gm-Message-State: AOAM533KPQWslMI3W3XO27RRwbqJLPDEisbZQHVdgkMv1U9b6pJBEPi4 TZpA5ZgZVA2sTptVGWlIE2eiZg== X-Received: by 2002:a05:6e02:12ee:b0:2d1:36d2:5de9 with SMTP id l14-20020a056e0212ee00b002d136d25de9mr1059489iln.200.1652757186684; Mon, 16 May 2022 20:13:06 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id n5-20020a6b4105000000b0065a47e16f5esm301697ioa.48.2022.05.16.20.13.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 May 2022 20:13:06 -0700 (PDT) Subject: Re: [PATCH v2 2/2] mm: delete unused MMF_OOM_VICTIM flag To: Suren Baghdasaryan , akpm@linux-foundation.org Cc: mhocko@suse.com, rientjes@google.com, willy@infradead.org, hannes@cmpxchg.org, guro@fb.com, minchan@kernel.org, kirill@shutemov.name, aarcange@redhat.com, brauner@kernel.org, hch@infradead.org, oleg@redhat.com, david@redhat.com, jannh@google.com, shakeelb@google.com, peterx@redhat.com, jhubbard@nvidia.com, shuah@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kernel-team@android.com, Shuah Khan References: <20220516075619.1277152-1-surenb@google.com> <20220516075619.1277152-2-surenb@google.com> From: Shuah Khan Message-ID: Date: Mon, 16 May 2022 21:13:05 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20220516075619.1277152-2-surenb@google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 5/16/22 1:56 AM, Suren Baghdasaryan wrote: > With the last usage of MMF_OOM_VICTIM in exit_mmap gone, this flag is > now unused and can be removed. > > Signed-off-by: Suren Baghdasaryan > Acked-by: Michal Hocko > --- > include/linux/oom.h | 9 --------- > include/linux/sched/coredump.h | 7 +++---- > mm/oom_kill.c | 4 +--- > 3 files changed, 4 insertions(+), 16 deletions(-) > Looks good to me. Reviewed-by: Shuah Khan thanks, -- Shuah