Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3424854ybe; Sun, 15 Sep 2019 15:21:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqyS0F5y9twgcps3f95J9z9olnrSykivgqJbz5Vyx9E1iJkafOBxIvTdK90OkQ3Iq2KV/h3L X-Received: by 2002:a17:906:d8c8:: with SMTP id re8mr643367ejb.130.1568586075906; Sun, 15 Sep 2019 15:21:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1568586075; cv=pass; d=google.com; s=arc-20160816; b=rEbGaGouPCtZP8M1byPh5RwPDIjIB4PJkcmh0+lIoTVxs2y8UN2G5Jkk6Rt6e5v/pD no2WXYBqYz9KtO5L9kqc7SUJZyPgHCvr+iLIHuK10zCoVf3q7stFMF/TANLnr59xtEv1 qb8ke+8ZrTcIdyutrb5YGMWXZY7t+NATX2VOuowaZ6/25mBUXwdNoTncUVh/W7TVrw92 ngJygMFMKdFdlNtEtlaeDzENgLBc4jViOiI4XJS59MVhQETD/pgt2uzpj0E0jk9x0zUZ mcramd4z3ZcrJUfhLIW96kbQSri3QXHa899wfmmHSTeyc5CY00MXlfehFMY3A/ezipef KazQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=1w4oTUYa2ruB8eUSvKvJ4M9wheNyksD4C1cv5QCGF9g=; b=GlQZJ6j4HR5Dn9SurDyu1JJmmvx7YLSX34cN3UMSUU+amTPu5gXgqbphWlRoYbuu7o qRAOkDM0msjQtE4PumFe7biWLZ4q7zq5lbxEsq9fdlEVEkaPLAMlqZka5IAVZ/gfRhHW 3afM8vbmN/dwjVbnhlCg0luBfvhvKxnF/gmxcdj29ttt4FPcfFgyGm+qQ1G5/lImdkPA GxwAwyNvb5Wb9JwGgf4sElh45yY3pG5VagJ/q5tg78IcoFoKvw/v6hU+JAhZsbPYDpRw TXSJkPB7BBY4B+odJl2tvS/vTks9CzONnXVS4P9+CsTm3YWQobTGwteLqka09xyGi2s7 OTBQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=nvkUmC1k; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=lEcl+A2s; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v17si19217066eda.256.2019.09.15.15.20.51; Sun, 15 Sep 2019 15:21:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=nvkUmC1k; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=lEcl+A2s; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727140AbfIOTqL (ORCPT + 99 others); Sun, 15 Sep 2019 15:46:11 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:18990 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725270AbfIOTqK (ORCPT ); Sun, 15 Sep 2019 15:46:10 -0400 Received: from pps.filterd (m0109334.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x8FJhfKE004692; Sun, 15 Sep 2019 12:45:23 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=1w4oTUYa2ruB8eUSvKvJ4M9wheNyksD4C1cv5QCGF9g=; b=nvkUmC1k3xID5o9gSIl9LK0O9k2bWrCR4TS8OQ3+5PHVMlxZM4GDow10Svlw2T+7DdlB WLA3zrOR9xmegQhElGr+zI0/fSgzqIIHBdLcUQ3UigLZkpudBNTh+/waHvfin3Fx8XL7 6W7JdyiPLSOqYIdpWxA01fxQZ5annSQEmp8= Received: from mail.thefacebook.com (mailout.thefacebook.com [199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2v1fwshm7x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 15 Sep 2019 12:45:23 -0700 Received: from prn-mbx02.TheFacebook.com (2620:10d:c081:6::16) by prn-hub01.TheFacebook.com (2620:10d:c081:35::125) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5; Sun, 15 Sep 2019 12:45:22 -0700 Received: from prn-hub03.TheFacebook.com (2620:10d:c081:35::127) by prn-mbx02.TheFacebook.com (2620:10d:c081:6::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5; Sun, 15 Sep 2019 12:45:22 -0700 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5 via Frontend Transport; Sun, 15 Sep 2019 12:45:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M83A/qsgOmCU2IJFmjCbKCQf/BnOG07yds7DyIwffnfQnzMy6LhhUBoos7mX0/Ao6MI91o6UJ7eKApJexppqNq/4vDriCCySU3Oppc121vjPmyMMIVK4PNtO5N38qfEFldZgsqDvujKQk/9Ur9AMm1AeYSHlMW4I24GobbxyIUr9/XYc1NbAnbEh9df3ioB1F7js7Hi/bxHOI9zDhEhqo9i+nEwMDyxW/nlkPQSr8X2MbEg5yJHpArqzFxdRpacL905H4733C28hdN5gJWiLEyBJCGHnYaI2j/1bUfA8gdK6/Cn0JIF70zbg93DC/LLL63e07WqHcdqzd6F5bwExxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1w4oTUYa2ruB8eUSvKvJ4M9wheNyksD4C1cv5QCGF9g=; b=dvgvOogww/kfLuTAG4TYX9efKT9K6zsO05Som0MyafCmzC1C+UHc6MxeHW38VuS6ZxzpS5yHbZRJnw+/EyMuQzsbJM2IzuP/izIEKTbPvpmIk/d9m/RvMoSImBHQEsBezR00SKVnqb9bM6l+UNuq77veyTSgdYXN/yHBe3uzF/gBDvJkSSmxl+R0MMEP3CxKCnwU9KxuFfKpWWEC7aKbrjNAq7HI5BjGTRSaMKAEGQSPMPy3RYlTd/J3Fbzxtot01tORZZ6AxPhd5+l3G9daSsiuK3ZinfBJ4FHwLrBCSr8ffz7ygieZhwZi5m5Eal/xGtouzmwKuXlYx0/WlPlHVw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fb.com; dmarc=pass action=none header.from=fb.com; dkim=pass header.d=fb.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector2-fb-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1w4oTUYa2ruB8eUSvKvJ4M9wheNyksD4C1cv5QCGF9g=; b=lEcl+A2s1zrcduveTyIRrMh44Fydu3jhiI8jIIHs8I47hoTjB93siVb8xpWe4amY3hAgm04mA14wOp/pYQh8qCJJM3f30CZTZuLSIIdBC2Sy+RtffueR6JpPLSFlNnq8YSALBmJAe/DEufC9X+xG6tyXdfsPC0/iwl7cgS5b+Bs= Received: from BYAPR15MB3384.namprd15.prod.outlook.com (20.179.60.27) by BYAPR15MB2390.namprd15.prod.outlook.com (52.135.199.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.26; Sun, 15 Sep 2019 19:45:20 +0000 Received: from BYAPR15MB3384.namprd15.prod.outlook.com ([fe80::95ab:61a0:29f4:e07e]) by BYAPR15MB3384.namprd15.prod.outlook.com ([fe80::95ab:61a0:29f4:e07e%6]) with mapi id 15.20.2263.021; Sun, 15 Sep 2019 19:45:20 +0000 From: Yonghong Song To: KP Singh CC: "linux-kernel@vger.kernel.org" , "bpf@vger.kernel.org" , "linux-security-module@vger.kernel.org" , Alexei Starovoitov , Daniel Borkmann , James Morris , Kees Cook , Thomas Garnier , Michael Halcrow , Paul Turner , "Brendan Gregg" , Jann Horn , "Matthew Garrett" , Christian Brauner , =?utf-8?B?TWlja2HDq2wgU2FsYcO8bg==?= , Florent Revest , Martin Lau , Song Liu , "Serge E. Hallyn" , "Mauro Carvalho Chehab" , "David S. Miller" , Greg Kroah-Hartman , Nicolas Ferre , Stanislav Fomichev , Quentin Monnet , "Andrey Ignatov" , Joe Stringer Subject: Re: [RFC v1 14/14] krsi: Pin arg pages only when needed Thread-Topic: [RFC v1 14/14] krsi: Pin arg pages only when needed Thread-Index: AQHVZ87hbuOgQ0AyT0uRpdYgTl4mM6cr6s4AgAASlwCAAS8qAA== Date: Sun, 15 Sep 2019 19:45:19 +0000 Message-ID: References: <20190910115527.5235-1-kpsingh@chromium.org> <20190910115527.5235-15-kpsingh@chromium.org> <20190915014008.GA19558@chromium.org> In-Reply-To: <20190915014008.GA19558@chromium.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR10CA0019.namprd10.prod.outlook.com (2603:10b6:301::29) To BYAPR15MB3384.namprd15.prod.outlook.com (2603:10b6:a03:112::27) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2620:10d:c090:180::fa7d] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 97618ee1-c29a-4820-933a-08d73a153d47 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600166)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:BYAPR15MB2390; x-ms-traffictypediagnostic: BYAPR15MB2390: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 01613DFDC8 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(346002)(376002)(396003)(366004)(136003)(189003)(199004)(6512007)(7416002)(6916009)(2906002)(6116002)(6246003)(31686004)(53936002)(8676002)(81156014)(71190400001)(71200400001)(229853002)(316002)(81166006)(8936002)(54906003)(6506007)(386003)(52116002)(53546011)(102836004)(76176011)(476003)(2616005)(46003)(11346002)(446003)(4326008)(256004)(5024004)(186003)(14444005)(86362001)(486006)(31696002)(6486002)(25786009)(7736002)(14454004)(478600001)(305945005)(5660300002)(66476007)(66946007)(36756003)(66556008)(64756008)(66446008)(6436002)(99286004);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR15MB2390;H:BYAPR15MB3384.namprd15.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: fb.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: xCIrsrvuK2/3VBNBluWeYNy5LljADxFV+7kZfsN6EYFiNQhGbYQ44jx2uwnjbWPVbLRUB8Y1n76fQvPKDwJiUpoa+6r+r2KnEDtcGaGrT5gq1qyCaSQvxW3j2ndh8ZQwaXam8ADjdN7PiW2/ZTmqmadToOMtLLfSyBlmBaZF7fsYBTmMt9gNnjdmY3IyuqfgsACauHbK5+KFGAKJL2uL9b5vNy1e/7nQwihlO5Q0d3IFmZv+p3qs11lQswRPpCp8f2JTQfZsXC8a4wPTAHYBgXIg3E1FGLXBgB3OXGti6Aet5HwYdunWUMyq2gqJ6kVNz1F1H3/T41kxJtWqu7kF/rufAA6vZwObF3yzwf3yPxONS+bMoe9ozsqwoDFdjI6YK65HNwSv+BXzrvuPM04P7n0Uqjckhajns1UcCuerE5k= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 97618ee1-c29a-4820-933a-08d73a153d47 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2019 19:45:19.7487 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qv9wtOarq+jxPGmGVzyonURIADY2twpB4u/pXAIlCyKLY+YyXphm5OX43icA9B4y X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB2390 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.70,1.0.8 definitions=2019-09-15_10:2019-09-11,2019-09-15 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 lowpriorityscore=0 priorityscore=1501 suspectscore=0 adultscore=0 clxscore=1015 mlxscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 spamscore=0 impostorscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1908290000 definitions=main-1909150215 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDkvMTUvMTkgMjo0MCBBTSwgS1AgU2luZ2ggd3JvdGU6DQo+IE9uIDE1LVNlcCAwMDoz MywgWW9uZ2hvbmcgU29uZyB3cm90ZToNCj4+DQo+Pg0KPj4gT24gOS8xMC8xOSAxMjo1NSBQTSwg S1AgU2luZ2ggd3JvdGU6DQo+Pj4gRnJvbTogS1AgU2luZ2ggPGtwc2luZ2hAZ29vZ2xlLmNvbT4N Cj4+Pg0KPj4+IEFkZHMgYSBjYWxsYmFjayB3aGljaCBpcyBjYWxsZWQgd2hlbiBhIG5ldyBwcm9n cmFtIGlzIGF0dGFjaGVkDQo+Pj4gdG8gYSBob29rLiBUaGUgY2FsbGJhY2sgcmVnaXN0ZXJlZCBi eSB0aGUgcHJvY2Vzc19leGVjdGlvbiBob29rDQo+Pj4gY2hlY2tzIGlmIGEgcHJvZ3JhbSB0aGF0 IGhhcyBjYWxscyB0byBhIGhlbHBlciB0aGF0IHJlcXVpcmVzIHBhZ2VzIHRvDQo+Pj4gYmUgcGlu bmVkIChlZy4ga3JzaV9nZXRfZW52X3ZhcikuDQo+Pj4NCj4+PiBTaWduZWQtb2ZmLWJ5OiBLUCBT aW5naCA8a3BzaW5naEBnb29nbGUuY29tPg0KPj4+IC0tLQ0KPj4+ICAgIGluY2x1ZGUvbGludXgv a3JzaS5oICAgICAgICAgICAgICB8ICAxICsNCj4+PiAgICBzZWN1cml0eS9rcnNpL2luY2x1ZGUv aG9va3MuaCAgICAgfCAgNSArKy0NCj4+PiAgICBzZWN1cml0eS9rcnNpL2luY2x1ZGUva3JzaV9p bml0LmggfCAgNyArKysrDQo+Pj4gICAgc2VjdXJpdHk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