Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1924752rwd; Wed, 17 May 2023 03:24:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5vxplR4Q9N+tG0UbeqHMu7SMluDBubJ7uTuzpPlsoqrgoTZ2s/iZLzw8I7RDyERLUjE5Fc X-Received: by 2002:a05:6a20:7d88:b0:106:bb67:d684 with SMTP id v8-20020a056a207d8800b00106bb67d684mr9545256pzj.42.1684319059042; Wed, 17 May 2023 03:24:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684319059; cv=none; d=google.com; s=arc-20160816; b=FaYQrFiy7MBCAnEXhsoVbD6Ea1r1vuA1SDqolzyXNfTl1gEfFlW+lBuddL0YV2Tfw1 MWjsty6oOoeaEQ771uosPlx8Ld4FS3N+wtv4IC5q3JtvM0VqNLujiXYHjt3WsTsP9UTb HMv69HGbULHZjvC2v0LMrRUmekLXUhfi/oAYqT7x6mQ/+Yzrd0HwSGCC8hLgaXQbgjCh yDwI/c0bBaBo5MD9gNS+3rLeuXUOGa0V5Qfu1ely0NImJG3l5hwlMw6etGLkvqpyoE7D KkFQJmLWwWaM9yfHp6opqY8n51K24HGbIGyg0Zaf0bK3KivcwtfJhCrgJZKIymDRWFBm EzPA== 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=H72wTQt/jAOGXiMqaFv8hWIGaTi9J+ANhJEAIhm4bWo=; b=pRySz/1yiuayRdiNa1MFyXkf/puUAAYbFJAnh4wwXTGnWa8dIV95cwC2QdYGKruizF 9RO8N3FYDUd1AHPiZ8PchCbOgxfiuBiFfRf2vWbRAA7Lk9dWZJAPF2EnICkWf6lYWFlZ cktKYFTmdj4g7Tsuw1auKiK4twOBT2+P7onNYqh+M45fGBIi55nqur+qANkB9uv3hl7M zt7dvMd3uSZ8GITS5WoEGhl4rQ+ydjdlXg7sK+w1hnNIGMcylAC5ixUwAiMeI3zY/40Z 6oVXOaWbyhYs1ST7ATF7uCi/kv+BlcL1BmVLkFqjUrzAqsHMecHBzq95BMga0VvAm1/o Mf3g== 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 e9-20020a63ae49000000b0052c63ee5905si19946661pgp.614.2023.05.17.03.24.04; Wed, 17 May 2023 03:24:19 -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 S230092AbjEQKCG (ORCPT + 99 others); Wed, 17 May 2023 06:02:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229836AbjEQKBy (ORCPT ); Wed, 17 May 2023 06:01:54 -0400 Received: from mx5.didiglobal.com (mx5.didiglobal.com [111.202.70.122]) by lindbergh.monkeyblade.net (Postfix) with SMTP id B57BE30C8; Wed, 17 May 2023 03:01:51 -0700 (PDT) Received: from mail.didiglobal.com (unknown [10.79.65.18]) by mx5.didiglobal.com (Maildata Gateway V2.8) with ESMTPS id 36B38B025264C; Wed, 17 May 2023 18:01:49 +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.2507.21; Wed, 17 May 2023 18:01:48 +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; Wed, 17 May 2023 18:01:48 +0800 X-MD-Sfrom: chengkaitao@didiglobal.com X-MD-SrcIP: 10.79.65.18 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//3xFAIAApWQA Date: Wed, 17 May 2023 10:01:48 +0000 Message-ID: <6AB7FF12-F855-4D5B-9F75-9F7D64823144@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.101] Content-Type: text/plain; charset="utf-8" Content-ID: <370AA8CD74597143B46B0A36D41DF0C7@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 QXQgMjAyMy0wNS0xNyAxNjowOTo1MCwgIllvc3J5IEFobWVkIiA8eW9zcnlhaG1lZEBnb29nbGUu Y29tPiB3cm90ZToNCj5PbiBXZWQsIE1heSAxNywgMjAyMyBhdCAxOjAx4oCvQU0g56iL5Z6y5rab IENoZW5na2FpdGFvIENoZW5nDQo+PGNoZW5na2FpdGFvQGRpZGlnbG9iYWwuY29tPiB3cm90ZToN Cj4+DQo+PiBBdCAyMDIzLTA1LTE3IDE0OjU5OjA2LCAiWW9zcnkgQWhtZWQiIDx5b3NyeWFobWVk QGdvb2dsZS5jb20+IHdyb3RlOg0KPj4gPitEYXZpZCBSaWVudGplcw0KPj4gPg0KPj4gPk9uIFR1 ZSwgTWF5IDE2LCAyMDIzIGF0IDg6MjDigK9QTSBjaGVuZ2thaXRhbyA8Y2hlbmdrYWl0YW9AZGlk aWdsb2JhbC5jb20+IHdyb3RlOg0KPj4gPj4NCj4+ID4+IEVzdGFibGlzaCBhIG5ldyBPT00gc2Nv cmUgYWxnb3JpdGhtLCBzdXBwb3J0cyB0aGUgY2dyb3VwIGxldmVsIE9PTQ0KPj4gPj4gcHJvdGVj dGlvbiBtZWNoYW5pc20uIFdoZW4gYW4gZ2xvYmFsL21lbWNnIG9vbSBldmVudCBvY2N1cnMsIHdl IHRyZWF0DQo+PiA+PiBhbGwgcHJvY2Vzc2VzIGluIHRoZSBjZ3JvdXAgYXMgYSB3aG9sZSwgYW5k IE9PTSBraWxs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