Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp462536rwd; Wed, 17 May 2023 22:21:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Oa7xSDaItFxDS6KlmS4Y/u7pFWXZ4XSdv/FKG9L6x68JvWZvEpaAQ1lpn7FxPPgnkP4ug X-Received: by 2002:a17:902:d2c5:b0:1ae:2e0e:dfcf with SMTP id n5-20020a170902d2c500b001ae2e0edfcfmr1343537plc.2.1684387285159; Wed, 17 May 2023 22:21:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684387285; cv=none; d=google.com; s=arc-20160816; b=zWhG4YuFB6LBShgwOMFjbASxb7k3VM0l2mUHRRno3XurH9fKz7qCnN6EHIbmwsAxRs z+vpo2rtK7WU2++ILX/P6cuF90HIQyQ4oa896TmTJ7tGJGKCelWtFBmXbWwPsXdWfW+G OzyOsS7J+muQv3+jiLMK04k32KjFg169jGBXvzXbSNXdouIuOOvLB+VuGUNCgSstqbD4 fzu49lCBmY2Cg6YwJ4FLbYLjEwdal83KuqH7JX8t6rX9j+RFnAx5gWla0TbL2CgSJeUi SeZwaaLwkCEVbPTeNvKkaSo1gWaFRKMAYNEmjEXNE8eZs3Iu//NZm92wTRfHsuD9Rlod tzPQ== 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=CiEYlX1zO98qVOaXD1ViSHTQQksCG85PyPJN+uj9xdc=; b=tH6699BFuGO0nuOpsCiaB0DpBK9nDmikKynN5vlyj1sSJsDK+K2ASBDA3cLGivtQKd mrDgPIlozF35Ob7VUr4YFBGhJe5SP1JFoi7kwzba4kevye+48rGaKHqvc+6CTzdsmDPI 5yWW+1jZLFIDnDz9TEVBDJ8safKNPzcVqUP/YU1E6Pcxwdwghw37Cggqja1Ug1uevGy5 QKFIBMbeokmzX5MMQQwMP4ppLJqqwAYEDjAAy/LfK7KsKbOjpvQ52nIlXzeC0MdDfZd/ rNxClPo7yCB6buB6v2mCWsiKLfAgR686xSZ/XmzQ2cakmsPGnvmX+sYUjDt3BMZpkK3z SF3A== 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 19-20020a170902c21300b001ac84f87b0fsi435841pll.339.2023.05.17.22.21.10; Wed, 17 May 2023 22:21:25 -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; 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 S229758AbjERFMS (ORCPT + 99 others); Thu, 18 May 2023 01:12:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbjERFMQ (ORCPT ); Thu, 18 May 2023 01:12:16 -0400 Received: from mx6.didiglobal.com (mx6.didiglobal.com [111.202.70.123]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 2195E1981; Wed, 17 May 2023 22:12:13 -0700 (PDT) Received: from mail.didiglobal.com (unknown [10.79.71.36]) by mx6.didiglobal.com (Maildata Gateway V2.8) with ESMTPS id 20503110078005; Thu, 18 May 2023 13:12:12 +0800 (CST) Received: from ZJY03-ACTMBX-05.didichuxing.com (10.79.71.35) by ZJY03-ACTMBX-06.didichuxing.com (10.79.71.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 18 May 2023 13:12:11 +0800 Received: from ZJY03-ACTMBX-05.didichuxing.com ([fe80::7d7d:d727:7a02:e909]) by ZJY03-ACTMBX-05.didichuxing.com ([fe80::7d7d:d727:7a02:e909%7]) with mapi id 15.01.2507.021; Thu, 18 May 2023 13:12:11 +0800 X-MD-Sfrom: chengkaitao@didiglobal.com X-MD-SrcIP: 10.79.71.36 From: =?utf-8?B?56iL5Z6y5rabIENoZW5na2FpdGFvIENoZW5n?= To: Yosry Ahmed 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" , "brauner@kernel.org" , "muchun.song@linux.dev" , "viro@zeniv.linux.org.uk" , "zhengqi.arch@bytedance.com" , "ebiederm@xmission.com" , "Liam.Howlett@oracle.com" , "chengzhihao1@huawei.com" , "pilgrimtao@gmail.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" , "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" , David Rientjes Subject: Re: [PATCH v4 0/2] memcontrol: support cgroup level OOM protection Thread-Topic: [PATCH v4 0/2] memcontrol: support cgroup level OOM protection Thread-Index: AQHZiG6QYuA8nkfOmkSWHm0JCEvXOa9dgyoAgACXf4D//3xFAIAApWQAgAAs0QCAARSZgA== Date: Thu, 18 May 2023 05:12:11 +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.71.101] Content-Type: text/plain; charset="utf-8" Content-ID: <979D7504BF289D4BA11C323B85EB0DF5@didichuxing.com> 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,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 QXQgMjAyMy0wNS0xOCAwNDo0MjoxMiwgIllvc3J5IEFobWVkIiA8eW9zcnlhaG1lZEBnb29nbGUu Y29tPiB3cm90ZToNCj5PbiBXZWQsIE1heSAxNywgMjAyMyBhdCAzOjAx4oCvQU0g56iL5Z6y5rab IENoZW5na2FpdGFvIENoZW5nDQo+PGNoZW5na2FpdGFvQGRpZGlnbG9iYWwuY29tPiB3cm90ZToN Cj4+DQo+PiBBdCAyMDIzLTA1LTE3IDE2OjA5OjUwLCAiWW9zcnkgQWhtZWQiIDx5b3NyeWFobWVk QGdvb2dsZS5jb20+IHdyb3RlOg0KPj4gPk9uIFdlZCwgTWF5IDE3LCAyMDIzIGF0IDE6MDHigK9B TSDnqIvlnrLmtpsgQ2hlbmdrYWl0YW8gQ2hlbmcNCj4+ID48Y2hlbmdrYWl0YW9AZGlkaWdsb2Jh bC5jb20+IHdyb3RlOg0KPj4gPj4NCj4+ID4+IEF0IDIwMjMtMDUtMTcgMTQ6NTk6MDYsICJZb3Ny eSBBaG1lZCIgPHlvc3J5YWhtZWRAZ29vZ2xlLmNvbT4gd3JvdGU6DQo+PiA+PiA+K0RhdmlkIFJp ZW50amVzDQo+PiA+PiA+DQo+PiA+PiA+T24gVHVlLCBNYXkgMTYsIDIwMjMgYXQgODoyMOKAr1BN IGNoZW5na2FpdGFvIDxjaGVuZ2thaXRhb0BkaWRpZ2xvYmFsLmNvbT4gd3JvdGU6DQo+PiA+PiA+ Pg0KPj4gPj4gVGhhbmsgeW91IGZvciBwcm92aW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