Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp614902rwb; Thu, 8 Dec 2022 00:12:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf4QFSxssH8/qrV/JSowCgknruzXJBu0q22YhgZaWfv1pRTsSDESjHlek9ESbto/w2pFtDsv X-Received: by 2002:a17:906:3e41:b0:78d:bc9f:33da with SMTP id t1-20020a1709063e4100b0078dbc9f33damr76822166eji.80.1670487158382; Thu, 08 Dec 2022 00:12:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670487158; cv=none; d=google.com; s=arc-20160816; b=OZR1e+2VLofeN0c6ODiT6s1dYJvLW+QXUIm5bvT2IQf+l1hycSBgZY8QdAtEcNtOvs 1ASkY2wecL00Hg4UsQUmLm9ko/GeH8P82FQqBBUy6XMmy/sl9Wput5PT5rT8VzNriqkt ncwLWA8hBGpfEe/jZpMRr3XKvHEsGwFa7O5s/8aiVd7OeJvmgZpw0wyaHUsb9qn6xMWT +r5p8jss/amVw2jeDQ190uHQ5t9VVDEZu5qq39i14/Ckp6wbaH+JSHrYbkQF7kB98O7z mA1XzmW6bt4xwA5/sSNipw0sNYbQF4cs4exdOFdTrRWOmInfJa7um1YTrZJ729tOC30O m8Og== 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=nyc/YV23odQpwFtzTQEe9iIEcznW4o3HwW8wZuhw9vk=; b=Vf8NJNBZOb4VqtZmyXSyC8br0J/LDhxGzWP9p4ntDo+ywzLvB8edBLGt2pPjPFYPQu hrNGNj6qIvplc58yYOAroKFRtKoqQu0Gf76kaCnpV887coT4fK257+VW3hN3Pa5ZrLVK Dnf3s3oyHfNiBym2xTGBq8eMeuxNg3sX8MLMoZdBxcF/apm023b5RjH3V+EGK7vB/btY lXtPvj9bpNDCXlDQcFAMl/6+GxPOyBIntzl1h10pTVcKyF5avGagQZmz4A67S7+4Z49O +JsTgQlFWmqKH5/tXACGvNA1ARY/Sg7TNx07dzGt9hEof+zmqCovwmUGtada57tp0lwa krYQ== 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 ho6-20020a1709070e8600b007429f0c69ccsi20430635ejc.579.2022.12.08.00.12.19; Thu, 08 Dec 2022 00:12:38 -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 S229676AbiLHH7i (ORCPT + 73 others); Thu, 8 Dec 2022 02:59:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229808AbiLHH7d (ORCPT ); Thu, 8 Dec 2022 02:59:33 -0500 Received: from mx5.didiglobal.com (mx5.didiglobal.com [111.202.70.122]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 03B5B54451; Wed, 7 Dec 2022 23:59:30 -0800 (PST) Received: from mail.didiglobal.com (unknown [10.79.65.18]) by mx5.didiglobal.com (Maildata Gateway V2.8) with ESMTPS id C98DBB001DA02; Thu, 8 Dec 2022 15:59:27 +0800 (CST) Received: from ZJY03-ACTMBX-05.didichuxing.com (10.79.71.35) by ZJY02-ACTMBX-06.didichuxing.com (10.79.65.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Thu, 8 Dec 2022 15:59:27 +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; Thu, 8 Dec 2022 15:59:27 +0800 X-MD-Sfrom: chengkaitao@didiglobal.com X-MD-SrcIP: 10.79.65.18 From: =?utf-8?B?56iL5Z6y5rabIENoZW5na2FpdGFvIENoZW5n?= To: Michal Hocko , chengkaitao CC: "tj@kernel.org" , "lizefan.x@bytedance.com" , "hannes@cmpxchg.org" , "corbet@lwn.net" , "roman.gushchin@linux.dev" , "shakeelb@google.com" , "akpm@linux-foundation.org" , "songmuchun@bytedance.com" , "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" Subject: Re: [PATCH v2] mm: memcontrol: protect the memory in cgroup from being oom killed Thread-Topic: [PATCH v2] mm: memcontrol: protect the memory in cgroup from being oom killed Thread-Index: AQHZCrfAdhr5zYTMtke9YS08C4BFfq5jExWAgACNdAA= Date: Thu, 8 Dec 2022 07:59:27 +0000 Message-ID: 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.65.92] 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 QXQgMjAyMi0xMi0wOCAxNTozMzowNywgIk1pY2hhbCBIb2NrbyIgPG1ob2Nrb0BzdXNlLmNvbT4g d3JvdGU6DQo+T24gVGh1IDA4LTEyLTIyIDExOjQ2OjQ0LCBjaGVuZ2thaXRhbyB3cm90ZToNCj4+ IEZyb206IGNoZW5na2FpdGFvIDxwaWxncmltdGFvQGdtYWlsLmNvbT4NCj4+IA0KPj4gV2UgY3Jl YXRlZCBhIG5ldyBpbnRlcmZhY2UgPG1lbW9yeS5vb20ucHJvdGVjdD4gZm9yIG1lbW9yeSwgSWYg dGhlcmUgaXMNCj4+IHRoZSBPT00ga2lsbGVyIHVuZGVyIHBhcmVudCBtZW1vcnkgY2dyb3VwLCBh bmQgdGhlIG1lbW9yeSB1c2FnZSBvZiBhDQo+PiBjaGlsZCBjZ3JvdXAgaXMgd2l0aGluIGl0cyBl ZmZlY3RpdmUgb29tLnByb3RlY3QgYm91bmRhcnksIHRoZSBjZ3JvdXAncw0KPj4gdGFza3Mgd29u J3QgYmUgT09NIGtpbGxlZCB1bmxlc3MgdGhlcmUgaXMgbm8gdW5wcm90ZWN0ZWQgdGFza3MgaW4g b3RoZXINCj4+IGNoaWxkcmVuIGNncm91cHMuIEl0IGRyYXdzIG9uIHRoZSBsb2dpYyBvZiA8bWVt b3J5Lm1pbi9sb3c+IGluIHRoZQ0KPj4gaW5oZXJpdGFuY2UgcmVsYXRpb25zaGlwLg0KPj4gDQo+ PiBJdCBoYXMgdGhlIGZvbGxvd2luZyBhZHZhbnRhZ2VzLA0KPj4gMS4gV2UgaGF2ZSB0aGUgYWJp bGl0eSB0byBwcm90ZWN0IG1vcmUgaW1wb3J0YW50IHByb2Nlc3Nlcywgd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