Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3573511pxb; Fri, 11 Feb 2022 03:02:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2AaO8xN1AZKLiJ8CMI5Zn9DqP9pA30g+eKKibZWRxDLFcEHL12Lh/fX7v05RcqA/wzAwZ X-Received: by 2002:a17:906:7308:: with SMTP id di8mr929657ejc.464.1644577329405; Fri, 11 Feb 2022 03:02:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644577329; cv=none; d=google.com; s=arc-20160816; b=j5t0y90B3ICIs5gFQUE3e/uZO9KbrcX8v/2eypuS0BpLmqKYBGCG3Ww7CgQf6nIwjK K5Hb6JpRN5HjJcrsOmEWwYWFfPIf2EodCOO3gJg21f2kMYs/Zx5LYb7W925ppoZhSX90 vwkzNRKASvNGfNKYqOWiGsnBnLcHMxoxQRYG95BFqz65ZP2/tpsJ9qShrE9KMQqhpPkP ZicpcWU3Sk92A5K/Xvha8YlR1sibFv/UFV32E8dtXXIhtJN2nQiztV6Fy27FA2SD2STu zG1dsC0qhtNCiwy87XUuDPOmyMnITc/UVpofclJY0MBzjrKWcYZj33hwWHgXFrIKQmCr QPkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=IiCMl8jx0vKRL+MtxV5eRbWYzOGOpfkyARoRUq8OwoQ=; b=LtHd3BtBFWq4klwzq2JCYsj5ytTWm3FOA1IftZjOIMtRUH3b3uGvTs/Ak6I3tsBBx7 pwd+6ggsa6AejtSNSS4oOEuZBn8Th9EEkizkfN1DhADxBhN4DEy+uWVfn/9TbzFhwf+T 6TOSAHjxe2MW+pkK8Rp03NZPs7mzXXfy/xVmUk81HdOk3bY7/C6t83W5jXUi/5vfrQsG k9mk1D2ksXU4Cpo3U/KNnJsldoGjvbLCj66yIbsA51HD08LRLeFtQx+8gdAGNWypmC/I F880P9mcNL2eP4QT+PdPfCG2aXWhlv6Oe+5bAkHN5L6kTfCXulOsp6YVg6dqNVIXBqGZ +YsA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr14si17081450ejc.120.2022.02.11.03.01.43; Fri, 11 Feb 2022 03:02:09 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348356AbiBKJIz (ORCPT + 99 others); Fri, 11 Feb 2022 04:08:55 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:52424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242898AbiBKJIw (ORCPT ); Fri, 11 Feb 2022 04:08:52 -0500 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C4F471021 for ; Fri, 11 Feb 2022 01:08:50 -0800 (PST) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-91-XP-PeTqnNb6M-AeFx-qu4A-1; Fri, 11 Feb 2022 09:08:48 +0000 X-MC-Unique: XP-PeTqnNb6M-AeFx-qu4A-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.28; Fri, 11 Feb 2022 09:08:45 +0000 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.028; Fri, 11 Feb 2022 09:08:45 +0000 From: David Laight To: "'Edgecombe, Rick P'" , "Shankar, Ravi V" , "bsingharora@gmail.com" , "hpa@zytor.com" , "Syromiatnikov, Eugene" , "peterz@infradead.org" , "rdunlap@infradead.org" , "keescook@chromium.org" , "dave.hansen@linux.intel.com" , "kirill.shutemov@linux.intel.com" , "Eranian, Stephane" , "linux-mm@kvack.org" , "fweimer@redhat.com" , "nadav.amit@gmail.com" , "jannh@google.com" , "linux-arch@vger.kernel.org" , "kcc@google.com" , "pavel@ucw.cz" , "oleg@redhat.com" , "hjl.tools@gmail.com" , "bp@alien8.de" , "Lutomirski, Andy" , "arnd@arndb.de" , "Moreira, Joao" , "tglx@linutronix.de" , "mike.kravetz@oracle.com" , "x86@kernel.org" , "linux-doc@vger.kernel.org" , "Dave.Martin@arm.com" , "Yang, Weijiang" , "john.allen@amd.com" , "mingo@redhat.com" , "Hansen, Dave" , "corbet@lwn.net" , "linux-kernel@vger.kernel.org" , "linux-api@vger.kernel.org" , "gorcunov@gmail.com" CC: "Yu, Yu-cheng" Subject: RE: [PATCH 18/35] mm: Add guard pages around a shadow stack. Thread-Topic: [PATCH 18/35] mm: Add guard pages around a shadow stack. Thread-Index: AQHYHgPE4ng9s1QFWkGaF1pqJykcg6yNYAXAgAATt4CAAJxvEA== Date: Fri, 11 Feb 2022 09:08:45 +0000 Message-ID: <09ed01cc5e564ef78875b18001955bb1@AcuMS.aculab.com> References: <20220130211838.8382-1-rick.p.edgecombe@intel.com> <20220130211838.8382-19-rick.p.edgecombe@intel.com> <1b5d83dc4cd84309823f012a3dce24f0@AcuMS.aculab.com> <6a4c11e506874293df13cb94b9dd578bba1819d7.camel@intel.com> In-Reply-To: <6a4c11e506874293df13cb94b9dd578bba1819d7.camel@intel.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogRWRnZWNvbWJlLCBSaWNrIFANCj4gU2VudDogMTAgRmVicnVhcnkgMjAyMiAyMzo0Mw0K PiANCj4gT24gVGh1LCAyMDIyLTAyLTEwIGF0IDIyOjM4ICswMDAwLCBEYXZpZCBMYWlnaHQgd3Jv dGU6DQo+ID4gRG8geW91IG5lZWQgYSByZWFsIGd1YXJkIHBhZ2U/DQo+ID4gT3IgaXMgaXQganVz dCBlbm91Z2ggdG8gZW5zdXJlIHRoYXQgdGhlIGFkamFjZW50IHBhZ2UgaXNuJ3QgYW5vdGhlcg0K PiA+IHNoYWRvdyBzdGFjayBwYWdlPw0KPiA+DQo+ID4gQW55IG90aGVyIHBhZ2Ugd2lsbCBjYXVz ZSBhIGZ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