Received: by 10.223.164.202 with SMTP id h10csp279652wrb; Tue, 14 Nov 2017 15:20:15 -0800 (PST) X-Google-Smtp-Source: AGs4zMYuftT5t08RNHbDG4m4bjxGaHFimlo3x+a4cOMBL2gik+w1z1n4fR3l70hUVSGANc+pMrJR X-Received: by 10.99.45.4 with SMTP id t4mr4797735pgt.254.1510701615245; Tue, 14 Nov 2017 15:20:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510701615; cv=none; d=google.com; s=arc-20160816; b=L67hI/i61HZmw9xcaltYfwQF2OhsGso/hpQbKc12Lgkku0gE6vet2nrhIdR9h+BiPL jMGLkXqdcepgX/Ow7fbXls+9Y5cP4q6xEMytdEWWNGgMz8KYqQh/lN2g6vhj7s7QpS6/ 5XdYYTO0yn5ysOSdtnYpsYc1vCSb6BxkoibHpoQ8Z33x9CAdsv/V9KlmCdrXZ1oyxpXM mBRrsAuFXptH+I3EFj0TSRGxikjHenTU4MBzdMAiW6QhZikk8nZTxROX5+m2CNH3c+oq xOso9v2OmdvN/3emjE8f1s2T956zoupI7wK/RxIL+FsICcRZ7Q7OgzoE46CkA/D7EQzY 8J7Q== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature:dkim-signature :arc-authentication-results; bh=DNGI0ABkTuhKcEN+t1u+CBfYErLrqP/3KlO4buPQOlY=; b=KPgT6RrNZBb8dDGw74psyhb93HXvX6rlDv4nZejmOz204X5rg7QUm34TTxZ4Tpa+b6 0+gfa/ywe46GYZxCdNZZkv1lZePRbxPOSEsOXR9YEJv7f7kHNfMoIERGODHcCcOFBpBc HyckZlzgaIdXBDNBQC/vO4OH0xcA8JQMLzi4tF/yvIcnyR2JsR2w7/q43I5Y4jlr9IUX qF+2sSgvWiOYCWq0hSPI5MuI7HOL1DbqTlZ7Iu8DguBV5vIx/DhTxIGDj9FPaBgZB/jQ eQVwjTUO+P78pnIxZDYYEJjckimG/VKX7JpH2tx3juWEq1x0Ob4ipS+HXnC3LIao4MWe p5dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=iKxKJcJI; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=dG1UKXJl; 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 i13si16496272pgp.62.2017.11.14.15.20.03; Tue, 14 Nov 2017 15:20:15 -0800 (PST) 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=iKxKJcJI; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=dG1UKXJl; 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 S1757099AbdKNVtz (ORCPT + 87 others); Tue, 14 Nov 2017 16:49:55 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:57268 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752528AbdKNVtr (ORCPT ); Tue, 14 Nov 2017 16:49:47 -0500 Received: from pps.filterd (m0109333.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vAELik1x020809; Tue, 14 Nov 2017 13:48:32 -0800 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-transfer-encoding : mime-version; s=facebook; bh=DNGI0ABkTuhKcEN+t1u+CBfYErLrqP/3KlO4buPQOlY=; b=iKxKJcJImaQZ9nrxL0gkWN221+Wt5eUdKJRIwKnIeLwGYofLVYvhTHBRpw15lQkcJTIE BccPgU2OfA3HkYB7ulC5cDYpUIAIIgUCVMlK2C2Krjx2ojBcUl61dkM3FZdd4wR6NRwO 6XOECbJnJiykzzGjYW+I1r1uPaAUKQooAVo= Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2e86f6rfpa-2 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 14 Nov 2017 13:48:32 -0800 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (192.168.183.28) by o365-in.thefacebook.com (192.168.177.34) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 14 Nov 2017 16:48:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=DNGI0ABkTuhKcEN+t1u+CBfYErLrqP/3KlO4buPQOlY=; b=dG1UKXJlbFKi3YyM2abMeV3BbMf80zriTn5GR1MDJjHlxrKXTQ+AbjCz1yvFSpvxAkB23hYI8VB2RmKpIH8m5MsZwbnW2FxTbWvh+qEE67mWE3s0HmFwZBwRtiun/ln2Rd56cHo8ENYROHsqjeU9IrajbrMWOT3IMMk/yZ0pdr8= Received: from CY4PR15MB1688.namprd15.prod.outlook.com (10.175.121.17) by CY4PR15MB1750.namprd15.prod.outlook.com (10.174.53.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.218.12; Tue, 14 Nov 2017 21:48:16 +0000 Received: from CY4PR15MB1688.namprd15.prod.outlook.com ([10.175.121.17]) by CY4PR15MB1688.namprd15.prod.outlook.com ([10.175.121.17]) with mapi id 15.20.0218.015; Tue, 14 Nov 2017 21:48:16 +0000 From: Ben Maurer To: Mathieu Desnoyers CC: Peter Zijlstra , "Paul E. McKenney" , Boqun Feng , "Andy Lutomirski" , Dave Watson , linux-kernel , linux-api , Paul Turner , Andrew Morton , Russell King , "Thomas Gleixner" , Ingo Molnar , "H. Peter Anvin" , Andrew Hunter , Andi Kleen , Chris Lameter , rostedt , Josh Triplett , Linus Torvalds , Catalin Marinas , Will Deacon , Michael Kerrisk , Alexander Viro Subject: Re: [RFC PATCH v11 for 4.15 01/24] Restartable sequences system call Thread-Topic: [RFC PATCH v11 for 4.15 01/24] Restartable sequences system call Thread-Index: AQHTXYPhmIqd6HY5PUe1T5SV8sIkp6MUVZrNj4p9WjDwdZNQtg== Date: Tue, 14 Nov 2017 21:48:16 +0000 Message-ID: References: <20171114200414.2188-1-mathieu.desnoyers@efficios.com> <20171114200414.2188-2-mathieu.desnoyers@efficios.com> ,<574606484.15158.1510692743725.JavaMail.zimbra@efficios.com> In-Reply-To: <574606484.15158.1510692743725.JavaMail.zimbra@efficios.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2620:10d:c090:200::6:9d1a] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY4PR15MB1750;20:8/MnfOY6E+3WV0jOk68PhLoP1p88+Cap+PUoo+vi59JcDPdOaFAGhWzDUrP89YelaAKUk+QZs2lJdHJCuUd6GZswupcOgT1hxK42yX2uPlPvojDE3vHMrTVCYq+aNrpWK87wtzagRVvr3A9T0VMsfZqb86iMOQNkNOOV8Cx2mVo= x-ms-office365-filtering-correlation-id: bbc17546-320b-4e1a-ad4d-08d52ba969db x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603199);SRVR:CY4PR15MB1750; x-ms-traffictypediagnostic: CY4PR15MB1750: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(11241501159)(6040450)(2401047)(5005006)(8121501046)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(3231022)(6041248)(20161123564025)(20161123560025)(20161123562025)(20161123558100)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY4PR15MB1750;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY4PR15MB1750; x-forefront-prvs: 04916EA04C x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(346002)(376002)(199003)(189002)(76176999)(4326008)(2900100001)(189998001)(55016002)(101416001)(9686003)(39060400002)(25786009)(7736002)(14454004)(305945005)(74316002)(97736004)(53936002)(33656002)(6246003)(2906002)(54356999)(50986999)(478600001)(229853002)(3280700002)(3660700001)(86362001)(93886005)(8936002)(7416002)(54906003)(8676002)(106356001)(316002)(6116002)(102836003)(6916009)(7696004)(5660300001)(81166006)(6436002)(6506006)(105586002)(81156014)(99286004)(77096006)(68736007)(2950100002)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR15MB1750;H:CY4PR15MB1688.namprd15.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: fb.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: bbc17546-320b-4e1a-ad4d-08d52ba969db X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Nov 2017 21:48:16.6702 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR15MB1750 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-14_11:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>=A0=A0=A0=A0=A0=A0 int rseq(struct rseq * rseq, uint32_t rseq_len, int f= lags, uint32_t sig); >>=20 >> Really dumb question -- and one I'm sorry to bring up at the last minute= . Should >> we consider making the syscall name something more generic "register_tls= _abi"? > I proposed that approach back in 2016 ("tls abi" system call), and the fe= edback > I received back then is that it was preferred to have a dedicated "rseq" = system > call than an "open ended" and generic "tls abi" system call. Ultimately I'm fine either way. I do think that in the past few months of r= eview it has become clear that creating this tls abi requires a fair bit of= work. It'd be a shame to see a future attempt to use such an ABI made diff= icult by forcing the author to figure out the registration process yet agai= n. I assume the maintainers of glibc would also like to avoid the need to r= egister multiple ABIs. -b= From 1584084474884157867@xxx Tue Nov 14 23:04:38 +0000 2017 X-GM-THRID: 1584073814600987930 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread