Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3399770pxb; Thu, 10 Feb 2022 21:19:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwaBIU/q0J5fSE1/qHZ5jlZG0kK5rjSymlJS90KbAqRGbQUAI98aZZ7Xx7W4URDIe6NWDUt X-Received: by 2002:a63:864a:: with SMTP id x71mr14927pgd.380.1644556740797; Thu, 10 Feb 2022 21:19:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644556740; cv=none; d=google.com; s=arc-20160816; b=TS73JsFUoCM/Duk+GdB0txQqzcJfWoWu/q9shYeltkQ4F39qbouGYs+H/BvoL5JwPi k+E9boNwQTLdJ9YXm/Ksjql95cU12Q9oUeu4qTlFvdgk5QZWF8HRCgbYHBAyAuPNU9VB hNMymcMUPOXXWmtSA2g8cDaoVJrxaW/qH8zrQPlAnr6+UNxJJA42SUKCSqIxMTilaaGX yJjWPoz0hgy95siFNeL8Wd4AHjV1ly/ZcP9bXEVvCaWhkZhrNWFk/IVrubwF7J7HinWA f36s86GZm9NszAd6rqQ/N/RZjr6cRcFqLPr0sALE69waEPaCS6VaQMe0ChZ2WPg0tJk6 15SA== 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=rNQ+l/V+ouLVPn/hTaV21ADcme1FSTGHrtUc9GCUivU=; b=j5acb+51kmw2E+LhonaM0VAh/cCsdVxpeN4jAb4jAIsbVwwVfUd8RVU1rhmkVJijU8 vl1R6WW94z6Ddnj8LoJouojqNiS+h+CHZkEiMlTUGaVbdF84Sm0XhUSlg8z1vdszFlad cWeLNRhoS8P9qOkB6py7BkqHStICXU7UMQEkCxHFMerRxLqnIxPiAwWrZaQNePSfwG02 USvdcOh9Gyu9WiCF5lOxHdfJOu+GuU9XTK4SZMaocBsrHzBqVx/cPpBHvvLgRIl+eLTJ MJbOS70sSKyRTuQAG7d2TMgcYtsRQSPaMOcPzDv3whj2BKiT3Yg/VGADoF3hgYrNLfU3 vNgA== 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 z5si3920755plg.361.2022.02.10.21.18.48; Thu, 10 Feb 2022 21:19:00 -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 S1345048AbiBJWi7 (ORCPT + 99 others); Thu, 10 Feb 2022 17:38:59 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:57636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345032AbiBJWi6 (ORCPT ); Thu, 10 Feb 2022 17:38:58 -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 F2B7326CD for ; Thu, 10 Feb 2022 14:38:56 -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-231-YriZOnoSNKCN8L5w2e2KaA-1; Thu, 10 Feb 2022 22:38:54 +0000 X-MC-Unique: YriZOnoSNKCN8L5w2e2KaA-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; Thu, 10 Feb 2022 22:38:51 +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; Thu, 10 Feb 2022 22:38:51 +0000 From: David Laight To: 'Dave Hansen' , Rick Edgecombe , "x86@kernel.org" , "H . Peter Anvin" , Thomas Gleixner , Ingo Molnar , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-mm@kvack.org" , "linux-arch@vger.kernel.org" , "linux-api@vger.kernel.org" , Arnd Bergmann , Andy Lutomirski , Balbir Singh , Borislav Petkov , Cyrill Gorcunov , Dave Hansen , "Eugene Syromiatnikov" , Florian Weimer , "H . J . Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , Randy Dunlap , "Ravi V . Shankar" , Dave Martin , Weijiang Yang , "Kirill A . Shutemov" , "joao.moreira@intel.com" , John Allen , "kcc@google.com" , "eranian@google.com" CC: Yu-cheng Yu 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: AQHYHgPE4ng9s1QFWkGaF1pqJykcg6yNYAXA Date: Thu, 10 Feb 2022 22:38:51 +0000 Message-ID: <1b5d83dc4cd84309823f012a3dce24f0@AcuMS.aculab.com> References: <20220130211838.8382-1-rick.p.edgecombe@intel.com> <20220130211838.8382-19-rick.p.edgecombe@intel.com> In-Reply-To: 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=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 RnJvbTogRGF2ZSBIYW5zZW4NCj4gU2VudDogMDkgRmVicnVhcnkgMjAyMiAyMjoyNA0KPiANCj4g T24gMS8zMC8yMiAxMzoxOCwgUmljayBFZGdlY29tYmUgd3JvdGU6DQo+ID4gSU5DU1NQKFEvRCkg aW5jcmVtZW50cyBzaGFkb3cgc3RhY2sgcG9pbnRlciBhbmQgJ3BvcHMgYW5kIGRpc2NhcmRzJyB0 aGUNCj4gPiBmaXJzdCBhbmQgdGhlIGxhc3QgZWxlbWVudHMgaW4gdGhlIHJhbmdlLCBlZmZlY3Rp dmVseSB0b3VjaGVzIHRob3NlIG1lbW9yeQ0KPiA+IGFyZWFzLg0KPiANCj4gVGhpcyBpcyBhIHBy ZXR0eSBjbG9zZSBjb3B5IG9mIHRoZSBpbnN0cnVjdGlvbiByZWZlcmVuY2UgdGV4dCBmb3INCj4g SU5DU1NQLiAgSSdtIGZlZWxpbmcgcmF0aGVyIGRlbnNlIHRvZGF5LCBidXQgdGhhdCdzIGp1c3Qg bm90IG1ha2luZyBhbnkNCj4gc2Vuc2UuDQo+IA0KPiBUaGUgcHNldWRvY29kZSBpcyBtb3JlIHNl bnNpYmxlIGluIHRoZSBTRE0u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