Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp763188yba; Thu, 18 Apr 2019 09:09:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxenMCBUu5fKrexYgpLu/vwH41WNKmEQxuFAlmWAt2gpCj8omX7pBXmdTVULkAenkmikeA X-Received: by 2002:a17:902:f209:: with SMTP id gn9mr48497736plb.109.1555603747074; Thu, 18 Apr 2019 09:09:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555603747; cv=none; d=google.com; s=arc-20160816; b=OuVvPDo20gaYcuart0kcZGL8hgdjs65mNPO95dqUmnOGx/1ltmhHpmcMaLNFHABSIy Dq0qztKAw+YBWL5xymSGrDiKT1SQ7j0xjZjiEa7tI4/JS4ZnzCEJwhHHPi7xY0hGotzF dz4IDRO8wttzuOOS1phx/ksTaxin4k0H3pz2c0B2IEIk95VW7PBfSdhhIxP52q2AKRbO OMarVbtmyjFA1QKpsaMfWmrOGTRmO714Tc98sm2PSRrP+7RmcRTE/NewVFofoN2hts4X ueYzkOl+oNWjRvW67idV/WXV1Vr/vLkRqn/oqnZbVzxEAv5ysFu9qziX1stYYjx7AIuZ VA2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:nodisclaimer:user-agent:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from:dkim-signature; bh=1Yc54pDoRCrGIub/QSipjSahCcYSwsqJzyVyI+YTphE=; b=OgGUqpreCLlui5J4FYxNzjCAtc+WJfDET7YTtAr81GahFkwhBZBsoeMDuMTnoO5GbQ FssgginOFYPDiicq30utBVpsZkePhiIzsp6Zn/aZjqkk0rbZ67sfVuHkhH68xLrZZDcY rwIX2sybI0ED5n/usbM2VROLd+wiYyk4U4roZkVRHKO40vnNQvh3FWa7gm2XBcU7qFhf 1l4LVTJXbtfbaIOzEKLtFOar0E4P8mNu6Xxes4qGGcINKTl62HQUlIPZTUtgWLlscuqm 4kuorr73TBroTPfUxSi4KezjKFHL/MhgDI0hn0a6WzaTt28+igaud5f7tqHaQ/XfQEZL dA4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=AUS94+Ao; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e10si2410218plb.206.2019.04.18.09.08.51; Thu, 18 Apr 2019 09:09:07 -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=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=AUS94+Ao; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389594AbfDRQHs (ORCPT + 99 others); Thu, 18 Apr 2019 12:07:48 -0400 Received: from mail-eopbgr130089.outbound.protection.outlook.com ([40.107.13.89]:11609 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725888AbfDRQHr (ORCPT ); Thu, 18 Apr 2019 12:07:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1Yc54pDoRCrGIub/QSipjSahCcYSwsqJzyVyI+YTphE=; b=AUS94+AoUZfNNuULOyh7KUHch8olnqy+lYzG7+ew+WIh8MYW9Dw9y8rpiTeJaQgmX9UfxQUJvfHUblqIbyTtnRRa1eaCb/Cc5t2fRcNoJhxnHqXfVR1ViBq+0JPTDkp4bgAvZ+iUVYDGZJEwH2wlIG3fQ9B2EfC9GCNLFsCpY1I= Received: from VI1PR08MB4223.eurprd08.prod.outlook.com (20.178.13.96) by VI1PR08MB3872.eurprd08.prod.outlook.com (20.178.80.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.14; Thu, 18 Apr 2019 16:07:39 +0000 Received: from VI1PR08MB4223.eurprd08.prod.outlook.com ([fe80::11b9:f687:dc3e:68cc]) by VI1PR08MB4223.eurprd08.prod.outlook.com ([fe80::11b9:f687:dc3e:68cc%3]) with mapi id 15.20.1813.011; Thu, 18 Apr 2019 16:07:39 +0000 From: Szabolcs Nagy To: Mathieu Desnoyers CC: nd , Joseph Myers , Will Deacon , carlos , Florian Weimer , libc-alpha , Thomas Gleixner , Ben Maurer , Peter Zijlstra , "Paul E. McKenney" , Boqun Feng , Dave Watson , Paul Turner , Rich Felker , linux-kernel , linux-api Subject: Re: [PATCH 1/5] glibc: Perform rseq(2) registration at C startup and thread creation (v8) Thread-Topic: [PATCH 1/5] glibc: Perform rseq(2) registration at C startup and thread creation (v8) Thread-Index: AQHU9HpbUigwBDiNHkaVVFlkWH4PtKZAhB6AgAAE+oCAAD0+gIABIvSAgAAl0IBuJwpORvyO0U2A Date: Thu, 18 Apr 2019 16:07:39 +0000 Message-ID: <79996d13-2ba2-ed7d-b202-e7d38f1fd870@arm.com> References: <20190416173216.9028-1-mathieu.desnoyers@efficios.com> <20190416173216.9028-2-mathieu.desnoyers@efficios.com> <364803063.586.1555516769056.JavaMail.zimbra@efficios.com> <1770787324.668.1555530989646.JavaMail.zimbra@efficios.com> <1066731871.915.1555593471194.JavaMail.zimbra@efficios.com> <6cbfea7b-9d83-74a5-9cd2-af56a5d68818@arm.com> <1055153722.1072.1555602067220.JavaMail.zimbra@efficios.com> In-Reply-To: <1055153722.1072.1555602067220.JavaMail.zimbra@efficios.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux aarch64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 x-originating-ip: [217.140.106.51] x-clientproxiedby: LO2P265CA0146.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9::14) To VI1PR08MB4223.eurprd08.prod.outlook.com (2603:10a6:803:b5::32) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs.Nagy@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 00d600c5-002a-4b09-7dd9-08d6c417fb0e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:VI1PR08MB3872; x-ms-traffictypediagnostic: VI1PR08MB3872: nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 0011612A55 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(346002)(376002)(366004)(396003)(39860400002)(189003)(199004)(6512007)(44832011)(14444005)(8936002)(256004)(2616005)(99286004)(446003)(81166006)(14454004)(97736004)(486006)(8676002)(81156014)(72206003)(4326008)(64126003)(476003)(5660300002)(31696002)(478600001)(3846002)(186003)(25786009)(229853002)(26005)(71190400001)(71200400001)(68736007)(6246003)(11346002)(52116002)(7416002)(65806001)(76176011)(58126008)(31686004)(65826007)(6436002)(54906003)(102836004)(305945005)(36756003)(7736002)(2906002)(53936002)(65956001)(66066001)(86362001)(6116002)(386003)(6506007)(53546011)(93886005)(6916009)(6486002)(316002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR08MB3872;H:VI1PR08MB4223.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 3/PvwsmPYOSS3l0ZO+UN6tWt9/JUuRSWDVZ+2wIyte/+pTDEb2zftk2tCAQQVGxY00hKqSmxAEM3LblJsD2x8WF86KYT5Pbha4PMDszNyydH+FzMNTk2i4r76BB+dLE3TIdYD/7DqJ644XsprrmPiSLPVwbzQ0qb1nUQ9NyCBKLL9g1bIeXLDHqUT54U/PdUgadjS0BSfMcap9DsmyTl3X3t/APkamKF98yb+tOeK8evokZBAWBjnDF9BjhY6y0Un9kuXui73pukjgHIdR0kybIO7RsoAwY23jzbenBHepcCclM7dVRMDGfmGu4aQ5FUJY+x/TbzEnXPpWoOKYjd2hiRjccbsYoxCocf9XoeTrQET3Hj/N5cbyU8FhyXSXJvw9aeI0CK1hdQ+sP7U43dcCuCJAF0c7ijfI4Br4EGBn8= Content-Type: text/plain; charset="utf-8" Content-ID: <8265BF5BDF73294FB3CC91041CC751B2@eurprd08.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 00d600c5-002a-4b09-7dd9-08d6c417fb0e X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Apr 2019 16:07:39.7278 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3872 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTgvMDQvMjAxOSAxNjo0MSwgTWF0aGlldSBEZXNub3llcnMgd3JvdGU6DQo+IC0tLS0tIE9u IEFwciAxOCwgMjAxOSwgYXQgMTE6MzMgQU0sIFN6YWJvbGNzIE5hZ3kgU3phYm9s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