Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2357764rwb; Wed, 30 Nov 2022 05:48:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf6vV9HhMtI3wcUASZdAJrCwGcVsBzskAuL78rJv/XTofKAz9HXnA1ZZDuht+5LLrAVUFqp2 X-Received: by 2002:a05:6402:530c:b0:462:df63:5ec5 with SMTP id eo12-20020a056402530c00b00462df635ec5mr55822331edb.147.1669816081453; Wed, 30 Nov 2022 05:48:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669816081; cv=none; d=google.com; s=arc-20160816; b=temGGkcJCv++ogL5rzZ77eFi+LI7pLiiM77zWldvTqyeaeOOm2aym/6cUlo32GmAkO Cmj2WMlClYecBJFHj+kucL04F1qVAoXF6GyJYJn7iwGWjcd9p4TxZMfXIG50TN6L3kg5 vmVkcglmD62AiT15UKUtJLKyyOq3A8wJ4H3HpipQR/WN2EvyvUWhyh8YvCtowSGOt6Q3 02+j3NGE/PYfo9tYhQzOaSO1ga/j4N3bbt0W//Qe5kl2Yh97dW1pYLtpd6wgiKo7l7mD c9/Emxi5ibUYAJNyu50eoamynqHAu+tzWUgS1EvCziKM+FOei9yYcD5CB+Vo2loUDc/H nHIQ== 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-id:content-language:accept-language:in-reply-to:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=ahy4JlZDFeFSd14veSW2RF/84PUawWQAQQ7VkSfO46Q=; b=qChElSdzMCTXTGqX/J84HFCI8FJ13J+zdLhDcb0V7W2mdSWtZXydNdaoB28/FoxoM3 q+w59R44Qriyz35YgxhtK0aCPiACAP7iNhXp7EgJjezowJb6567CtF+Vhj+j2vMx4UHf rkHXnE5pR8MPwvtiFGIiYThJrWa35CF8fTgO5uc2oURwlTwKx3E2PLFRgjnM/eoPYlcK 1yfg6kyXDjFAY0E39nxat/qJfx12QwPSkBsZ/BHqCVeHLrf34W0JS9f50IjZbAeuUSm3 8WUs8HwRBcKYuEWjTHS8FTQkME/7Hszzlqlrz+LD0tyyg8Nxf2X63HymdI5m95PQhpj3 boeQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp30-20020a1709071b1e00b0073d9f16e5b3si1510763ejc.258.2022.11.30.05.47.40; Wed, 30 Nov 2022 05:48:01 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229757AbiK3NdW (ORCPT + 85 others); Wed, 30 Nov 2022 08:33:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbiK3NdS (ORCPT ); Wed, 30 Nov 2022 08:33:18 -0500 X-Greylist: delayed 363 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 30 Nov 2022 05:33:15 PST Received: from mx5.didiglobal.com (mx5.didiglobal.com [111.202.70.122]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 44C0B13F23; Wed, 30 Nov 2022 05:33:14 -0800 (PST) Received: from mail.didiglobal.com (unknown [10.79.71.35]) by mx5.didiglobal.com (Maildata Gateway V2.8) with ESMTPS id 4D2E0B00DB009; Wed, 30 Nov 2022 21:25:07 +0800 (CST) Received: from ZJY03-ACTMBX-05.didichuxing.com (10.79.71.35) by ZJY03-ACTMBX-05.didichuxing.com (10.79.71.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Wed, 30 Nov 2022 21:25:06 +0800 Received: from ZJY03-ACTMBX-05.didichuxing.com ([fe80::1dcd:f7bf:746e:c769]) by ZJY03-ACTMBX-05.didichuxing.com ([fe80::1dcd:f7bf:746e:c769%8]) with mapi id 15.01.2375.017; Wed, 30 Nov 2022 21:25:06 +0800 X-MD-Sfrom: chengkaitao@didiglobal.com X-MD-SrcIP: 10.79.71.35 From: =?utf-8?B?56iL5Z6y5rabIENoZW5na2FpdGFvIENoZW5n?= To: Bagas Sanjaya , Tao pilgrim CC: "tj@kernel.org" , "lizefan.x@bytedance.com" , "hannes@cmpxchg.org" , "corbet@lwn.net" , "mhocko@kernel.org" , "roman.gushchin@linux.dev" , "shakeelb@google.com" , "akpm@linux-foundation.org" , "songmuchun@bytedance.com" , "cgel.zte@gmail.com" , "ran.xiaokai@zte.com.cn" , "viro@zeniv.linux.org.uk" , "zhengqi.arch@bytedance.com" , "ebiederm@xmission.com" , "Liam.Howlett@oracle.com" , "chengzhihao1@huawei.com" , "haolee.swjtu@gmail.com" , "yuzhao@google.com" , "willy@infradead.org" , "vasily.averin@linux.dev" , "vbabka@suse.cz" , "surenb@google.com" , "sfr@canb.auug.org.au" , "mcgrof@kernel.org" , "sujiaxun@uniontech.com" , "feng.tang@intel.com" , "cgroups@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-mm@kvack.org" , Greg Kroah-Hartman Subject: Re: [PATCH] mm: memcontrol: protect the memory in cgroup from being oom killed Thread-Topic: [PATCH] mm: memcontrol: protect the memory in cgroup from being oom killed Thread-Index: AQHZBK+NwNVzWF9Xk0ibAn/rxGrWSq5W40KAgACRsQA= Date: Wed, 30 Nov 2022 13:25:06 +0000 Message-ID: <9F11BDDA-D9B6-4F61-9EAA-9B959BD4AE0A@didiglobal.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.79.71.102] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 T24gMjAyMi8xMS8zMCAyMDo0M++8jOKAnEJhZ2FzIFNhbmpheWHigJ08YmFnYXNkb3RtZUBnbWFp bC5jb20+IHdyb3RlOg0KPiBPbiBXZWQsIE5vdiAzMCwgMjAyMiBhdCAwNzozMzowMVBNICswODAw LCBUYW8gcGlsZ3JpbSB3cm90ZToNCj4gPiBPbiBXZWQsIE5vdiAzMCwgMjAyMiBhdCA0OjQxIFBN IEJhZ2FzIFNhbmpheWEgPGJhZ2FzZG90bWVAZ21haWwuY29tPiB3cm90ZToNCj4gPiA+DQo+ID4g PiBPbiAxMS8zMC8yMiAxNDowMSwgY2hlbmdrYWl0YW8gd3JvdGU6DQo+ID4gPiA+IEZyb206IGNo ZW5na2FpdGFvIDxwaWxncmltdGFvQGdtYWlsLmNvbT4NCj4gPiA+ID4NCj4gPiA+DQo+ID4gPiBZ aWtlcyEgQW5vdGhlciBwYXRjaCBmcm9tIFpURSBndXlzLg0KPiA+ID4NCj4gPiA+IEknbSBzdXNw aWNpb3VzIHRvIHBhdGNoZXMgc2VudCBmcm9tIHRoZW0gZHVlIHRvIGJhZCByZXB1dGF0aW9uIHdp dGgNCj4gPiA+IGtlcm5lbCBkZXZlbG9wbWVudCBjb21tdW5pdHkuIEZpcnN0LCB0aGV5IHNlbnQg YWxsIHBhdGNoZXMgdmlhDQo+ID4gPiBjZ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