Received: by 10.223.164.202 with SMTP id h10csp152232wrb; Tue, 14 Nov 2017 12:42:44 -0800 (PST) X-Google-Smtp-Source: AGs4zMZrbQRWyBHTVEe9XUZSa72B8eEdPJytlvWOk64WqCfLrv2RXmaw8Jeh9f4jvqP3fnja3SgH X-Received: by 10.98.36.199 with SMTP id k68mr12983205pfk.236.1510692164674; Tue, 14 Nov 2017 12:42:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510692164; cv=none; d=google.com; s=arc-20160816; b=k+oSaIv1YQN6f0uXpvEChcL9XBaVjmzw+W2L25WCvL2KJKctkExe0LJVr7xu7q6697 J/K2LhMDlWMr8W2GaikGxVLt92/bMsTdKS3qKNgvVTbVb4rl4ahHCmm5Sgl8Sod9Wu4u SwGpOS9UFu3Voo1v5Phm0ZeSK4lEOsIjBg4uGEZGUHjhITzqk/D6yyizUn6f72Op25g7 ni98fLdJC8y+QHTC3cth3s/VrjWQlU95nPbW6UmYOTixPa471PBo1N3bASaAekZCxyR/ zVuMluOlc5qgZ7NiVEQ82YR0ssWBLDygw4wBN4ykoz+EH2+op4NLIpivdn631yNh71i9 +vTQ== 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=Wb+6LZTArg2ONqLiuMKKG+t4fA+bDZeGqxBLa/QX+Rk=; b=D3X4ax8bOeQ8KN6iHduh/xeL5cvva7b8c0LnWkCFb6HyRLthZVQAdL70cPgKrs9iMs Nov+NEfPBFL9o5hyALtgWoSBZCBXA9V980PUjxiVYZl3i5JC3kY3pfOe1cwBeqWED7Ii 2x8JGap0AXCn36DSpDshQ/wTA8z6KslQxKo3l+pdvLZNJf3rtS4GJTU05GR3EBExSvF7 6TBuXq40tFjxcF2fS7Hh4tMN/wt7yvGP34UknqyXajYhDtB14SksGjYjXZsDJvElB1tI qsA7jvzDvaat25D4VgMsWaOec/6AdyIApP49uukshEWfh5JCLad8TPCpwd2pyh/LTovx 9NUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=YIqpIg5G; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=PPMSzvVT; 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 a92si16879949pla.28.2017.11.14.12.42.32; Tue, 14 Nov 2017 12:42:44 -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=YIqpIg5G; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=PPMSzvVT; 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 S1756599AbdKNUl2 (ORCPT + 88 others); Tue, 14 Nov 2017 15:41:28 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:60774 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752528AbdKNUlT (ORCPT ); Tue, 14 Nov 2017 15:41:19 -0500 Received: from pps.filterd (m0001255.ppops.net [127.0.0.1]) by mx0b-00082601.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vAEKb1BW018063; Tue, 14 Nov 2017 12:39:29 -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=Wb+6LZTArg2ONqLiuMKKG+t4fA+bDZeGqxBLa/QX+Rk=; b=YIqpIg5GbIP1UGt3pxg0wVXLXRIFvoVmCH4wCDDZS2Uy2dtMBLNjjVAOz10mmneUPjLJ Z9ZO8JnUMyt8zbcxiYsPDIRzsgskN1ffAxy8Li0pjB9evcdkYRjtzMM699GWbC88bq8e 97EtUHcDdzYUZvz90K8N8qI7NJfahGI0g2U= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0b-00082601.pphosted.com with ESMTP id 2e85cc0mnv-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 14 Nov 2017 12:39:29 -0800 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.17) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 14 Nov 2017 12:39:25 -0800 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=Wb+6LZTArg2ONqLiuMKKG+t4fA+bDZeGqxBLa/QX+Rk=; b=PPMSzvVTNEavw4+ZuX6zoaGtQI87rHCXb23HICSN0Icd7PFbIa0kERPwHVcONJUKVKgNyAa2ENPqy97jViHzJqcH+5ybXcQF5qaliErLlW7uY7dkTj8FE2i/orPpgZO0tpsAm/hWP0DI7vNHs2GQMFioQLp2mstMwJcrEVmwqjE= Received: from CY4PR15MB1688.namprd15.prod.outlook.com (10.175.121.17) by CY4SPR00MB057.namprd15.prod.outlook.com (10.173.60.151) 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 20:39:24 +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 20:39:24 +0000 From: Ben Maurer To: Mathieu Desnoyers , Peter Zijlstra , "Paul E . McKenney" , Boqun Feng , Andy Lutomirski , Dave Watson CC: "linux-kernel@vger.kernel.org" , "linux-api@vger.kernel.org" , Paul Turner , Andrew Morton , Russell King , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Andrew Hunter , Andi Kleen , Chris Lameter , Steven 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: AQHTXYPhmIqd6HY5PUe1T5SV8sIkp6MUVZrN Date: Tue, 14 Nov 2017 20:39:23 +0000 Message-ID: References: <20171114200414.2188-1-mathieu.desnoyers@efficios.com>,<20171114200414.2188-2-mathieu.desnoyers@efficios.com> In-Reply-To: <20171114200414.2188-2-mathieu.desnoyers@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::4:8b60] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY4SPR00MB057;20:Bd4IEbapDCerKQA/Lxv8gLtsyzMzoQ+GwqoTAabsCrF35ePZabeTSuaC8MO6DsmSQesoPtbfSNYDHYya5shd9mAVxwH9MAISq8r5WT146xrfXGlA0TfxJJ8mgQfxNA0GZXfieL4qnQ69vJRKW1PSbH5XORRNLexVZUbHp1H1cME= x-ms-office365-filtering-correlation-id: cee68f12-9d37-4b71-060c-08d52b9fcaa2 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603199);SRVR:CY4SPR00MB057; x-ms-traffictypediagnostic: CY4SPR00MB057: 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)(8121501046)(5005006)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(3002001)(3231022)(6041248)(20161123562025)(20161123560025)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY4SPR00MB057;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY4SPR00MB057; x-forefront-prvs: 04916EA04C x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(376002)(346002)(199003)(189002)(53936002)(97736004)(54906003)(6506006)(6436002)(110136005)(39060400002)(99286004)(68736007)(54356999)(2950100002)(9686003)(229853002)(6116002)(25786009)(50986999)(4326008)(6246003)(14454004)(76176999)(316002)(55016002)(102836003)(7416002)(305945005)(7696004)(33656002)(8936002)(101416001)(105586002)(7736002)(77096006)(3660700001)(106356001)(3280700002)(8676002)(478600001)(74316002)(5660300001)(6636002)(81166006)(2906002)(86362001)(81156014)(189998001)(2900100001)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4SPR00MB057;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: cee68f12-9d37-4b71-060c-08d52b9fcaa2 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Nov 2017 20:39:23.8609 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4SPR00MB057 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-14_10:,, 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 fla= gs, uint32_t sig); Really dumb question -- and one I'm sorry to bring up at the last minute. S= hould we consider making the syscall name something more generic "register_= tls_abi"? I'm assuming that if we ever want to use a per-thread userspace/k= ernel ABI we'll want to use this field given the difficulty of getting adop= tion of registration, the need to involve glibc, etc. It seems like there c= ould be future use cases of this TLS area that have nothing to do with rseq= .=20 From 1584073814600987930@xxx Tue Nov 14 20:15:12 +0000 2017 X-GM-THRID: 1584073814600987930 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread