Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp769817rdh; Thu, 23 Nov 2023 18:52:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6+x4OLC1ARPOumbwVqTohhBfLfdipVeQq74VBg+EQWw5v6zpshi3j3I2XF6g0fs9K5F78 X-Received: by 2002:a05:6a21:a58d:b0:18b:d99a:99bd with SMTP id gd13-20020a056a21a58d00b0018bd99a99bdmr1924272pzc.32.1700794375714; Thu, 23 Nov 2023 18:52:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700794375; cv=none; d=google.com; s=arc-20160816; b=XXMTWR8INhYUm5A0L1tYbOXC335rguRA+A3lEH4Se+z9Pgf44tYfk+f1+MyXcBW9nT mnQIRvjzimGJEokxZ473XFLxqqj17Z+m1ElDQdU68Ti6lgflYV/zP9noQvMslXSwFHZG hZworrRHXYO1acRwLlQ7PwPU/H5cdqpthh7FKBEWQEC5Zj2SEEaBRcUtKvtcZBuPPPj6 PXVzLQVoSssZBBqb2GYlO74u/NkG+3psA3uUzVbDzr8lLAdgyQL9sagUCAePGjk/BSc2 V+OGs7kwK/NHN7YZ9/BwLG9Z/vofCz6MHvgSwFJ+bYR0Sw17gCBrm7pHlBQycKZAsNs9 z52w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=rK/5n8TACO0mpq/jYOoldAQGkP5H++zimurhN3VXAyw=; fh=hDLqL/lMOpQSZ50mKNQNw4BA88d6JFVppo4dJVYRSbQ=; b=F4vbT5JFZKQG9H/cA3eqItJ7JpcKIWTkv/8+zIJZHv8GFK8WU2mVr3zySqv0oSP4J3 7BBReCiDmk1tRcfa3YTZLGimlO04BpOKPj1c1Qq0wnStx+bBmol4uqrH70tyf6W1lEEe 6rEuHZPBdjq0X1qzqBCJPNQqyYZErcS2sppN91mPcSWH/c+57UHOOgz8RK0vyzzlphqW cJrx2jqI6NRqTHrxD1f64sUYNdXaFm2FF3iJKOH5uc4I0O3Y1goOKvNvDonKyayxn9h5 bIiotJnFDOQd9Uhj1CfYWTsUYH2z8Ma0d7Nl2NKpIFiYR+GGJVRB1y/iQX4F99xzkp7q ebUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hihonor.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id 76-20020a63024f000000b005b88c8a25e4si2618893pgc.491.2023.11.23.18.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 18:52:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hihonor.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 789CF828F217; Thu, 23 Nov 2023 18:52:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229962AbjKXCwe (ORCPT + 99 others); Thu, 23 Nov 2023 21:52:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjKXCwd (ORCPT ); Thu, 23 Nov 2023 21:52:33 -0500 Received: from mta20.hihonor.com (mta20.hihonor.com [81.70.206.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB045D44 for ; Thu, 23 Nov 2023 18:52:38 -0800 (PST) Received: from w011.hihonor.com (unknown [10.68.20.122]) by mta20.hihonor.com (SkyGuard) with ESMTPS id 4Sbzz25hhSzYpNfn; Fri, 24 Nov 2023 10:51:58 +0800 (CST) Received: from a002.hihonor.com (10.68.31.193) by w011.hihonor.com (10.68.20.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.25; Fri, 24 Nov 2023 10:52:34 +0800 Received: from a007.hihonor.com (10.68.22.31) by a002.hihonor.com (10.68.31.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.25; Fri, 24 Nov 2023 10:52:34 +0800 Received: from a007.hihonor.com ([fe80::ccdd:b4b:ae86:edd4]) by a007.hihonor.com ([fe80::ccdd:b4b:ae86:edd4%10]) with mapi id 15.02.1258.025; Fri, 24 Nov 2023 10:52:34 +0800 From: gaoxu To: Andrew Morton CC: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Suren Baghdasaryan , yipengxiang , Michal Hocko Subject: =?gb2312?B?u9i4tDogW1BBVENIXSBtbSxvb21fcmVhcGVyOiBhdm9pZCBydW4gcXVldWVf?= =?gb2312?Q?oom=5Freaper_if_task_is_not_oom?= Thread-Topic: [PATCH] mm,oom_reaper: avoid run queue_oom_reaper if task is not oom Thread-Index: AdodQUgb0N3ZJU2TSUK/4IicgpocdQACR6uAAE2HqPA= Date: Fri, 24 Nov 2023 02:52:34 +0000 Message-ID: References: <400d13bddb524ef6af37cb2220808c75@hihonor.com> <20231122134715.487677f38de74a6f8e0111cd@linux-foundation.org> In-Reply-To: <20231122134715.487677f38de74a6f8e0111cd@linux-foundation.org> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.164.11.140] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 23 Nov 2023 18:52:53 -0800 (PST) T24gV2ViLCAyMiBOb3YgMjAyMyAyMTo0Nzo0NCArMDAwMCBBbmRyZXcgTW9ydG9uIHdyb3RlOg0K PiBPbiBXZWQsIDIyIE5vdiAyMDIzIDEyOjQ2OjQ0ICswMDAwIGdhb3h1IDxnYW94dTJAaGlob25v ci5jb20+IHdyb3RlOg0KDQo+PiBUaGUgZnVuY3Rpb24gcXVldWVfb29tX3JlYXBlciB0ZXN0cyBh bmQgc2V0cyB0c2stPnNpZ25hbC0+b29tX21tLT5mbGFncy4NCj4+IEhvd2V2ZXIsIGl0IGlzIG5l Y2Vzc2FyeSB0byBjaGVjayBpZiAndHNrJyBpcyBhbiBPT00gdmljdGltIGJlZm9yZSANCj4+IGV4 ZWN1dGluZyAncXVldWVfb29tX3JlYXBlcicgYmVjYXVzZSB0aGUgdmFyaWFibGUgbWF5IGJlIE5V TEwuDQo+PiANCj4+IFdlIGVuY291bnRlcmVkIHN1Y2ggYW4gaXNzdWUsIGFuZCB0aGUgbG9nIGlz IGFzIGZvbGxvd3M6DQo+PiBbMzcwMToxMV9zZWVdT3V0IG9mIG1lbW9yeTogS2lsbGVkIHByb2Nl c3MgMzE1NCAoc3lzdGVtX3NlcnZlcikgDQo+PiB0b3RhbC12bToy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