Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1074401imm; Fri, 15 Jun 2018 10:45:21 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJljXWvVbD4yrM+QuUSDC/TIUsGHuHKEAvv0FmNX8GW5jsffCHykewk9NfwZ9q4HIvHKa10 X-Received: by 2002:a63:5fcb:: with SMTP id t194-v6mr2424333pgb.176.1529084721595; Fri, 15 Jun 2018 10:45:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529084721; cv=none; d=google.com; s=arc-20160816; b=jIXxIG2qBz82xp45OOBLu2dh0WDdHMIRdFZa+okMGT3MHL0YHHJQVlbygAcoqakESU JsmlQyAA7fToniTMVuy4nolU/EaESCjOuLKrLo2Bo/O6XapLCMWmzn+jZMTj1ItTFi0p WI+0BFcH41v8K7piIylOYC1MdMG0J/Wh4ENKGM/r0BBCU7g+FzuUpvkfSb9EWzn9ddKp 0agmaincuqFgHSEfGbUneIFexCwAJ7H+VaTv6f1DbYPAWmMBvpS3h4jzzZVPsVfFnkrU yfjNlhevXgpKspG/ES1I80Ep9lJTotZYPMdlgYAoWFQgFktS5S1iKCkwDWjhTfdEW/5C n4Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature:dkim-filter :arc-authentication-results; bh=8LIXkrcNnNvC/ci3aa+clX2Eh+q62XhHuyvhklum/UY=; b=UAL0QvjKxO6Ox6XPBiQu3jE4DW+ylL2DRf35J5PVG99z4L/rWE38uO6rxW0R1HT6Z5 ZUDx1ju5DaYGxTphQCcyV7tiNjq/kz+/GBiOi4yDtxjk0lKGOiwL9GRHuYLabVyb6rw4 9yH8P+QDy3LIL1ZUAFleB7PIK4Rja+NbyTTeY6vxAYX+mNx6rb79vXDjRtXux1Vc5HQh rKlht+kYi7/ZRoqUj2b/iXbo7QiLda7SdSiMmXu6DeJBmetDumn5Lv9etQHjctQmNAuN aOfZhh+JPD95EQIq5leb+YJvbo1Skc96bxpVU2JTWtVVY5DFPg+i/VULMAlQ2DlN2pIG 8hXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b=IQMHkiHg; 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=efficios.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m67-v6si7124400pgm.517.2018.06.15.10.45.06; Fri, 15 Jun 2018 10:45:21 -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=@efficios.com header.s=default header.b=IQMHkiHg; 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=efficios.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966456AbeFORoP (ORCPT + 99 others); Fri, 15 Jun 2018 13:44:15 -0400 Received: from mail.efficios.com ([167.114.142.138]:50084 "EHLO mail.efficios.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965774AbeFORoM (ORCPT ); Fri, 15 Jun 2018 13:44:12 -0400 Received: from localhost (ip6-localhost [IPv6:::1]) by mail.efficios.com (Postfix) with ESMTP id 13F8722B57F; Fri, 15 Jun 2018 13:44:12 -0400 (EDT) Received: from mail.efficios.com ([IPv6:::1]) by localhost (mail02.efficios.com [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id LUvfjFM0lhIE; Fri, 15 Jun 2018 13:44:11 -0400 (EDT) Received: from localhost (ip6-localhost [IPv6:::1]) by mail.efficios.com (Postfix) with ESMTP id ACD7F22B57C; Fri, 15 Jun 2018 13:44:11 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com ACD7F22B57C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1529084651; bh=8LIXkrcNnNvC/ci3aa+clX2Eh+q62XhHuyvhklum/UY=; h=Date:From:To:Message-ID:MIME-Version; b=IQMHkiHgC6Yqnp6lEL//T3rYXVHIiRFZk6y6dWYzuaGkFLd772SalhmX+BN1+o1OJ I9wawQdxcFO28go9WRYzTX0+Ot4JWGjJEdDrcTpuI1YwbRxNjHF0b9QHYkfWNielBy TB1jGwwNVSdJ/ZnOutnIvS+luwihN4YV8JmWT2oCb9rPa+O1W9giYwCUSDmX4Cx5qx ASu7cZwIzxZ5N9DxN6zs6X6DFv1nJOfLfYaQEud880eVxHGu6sh6DqgILS/UYVAceb UJlz3/ihT5bx6ZOu7tIEIYno3bK4JOCxmU7vmFnP0AToWW6N+K5VUOQMtQCoxUW11P M9O2vCzfO8M6g== X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([IPv6:::1]) by localhost (mail02.efficios.com [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id 9M4QhlGDStib; Fri, 15 Jun 2018 13:44:11 -0400 (EDT) Received: from mail02.efficios.com (mail02.efficios.com [167.114.142.138]) by mail.efficios.com (Postfix) with ESMTP id 97BBB22B575; Fri, 15 Jun 2018 13:44:11 -0400 (EDT) Date: Fri, 15 Jun 2018 13:44:11 -0400 (EDT) From: Mathieu Desnoyers To: Florian Weimer Cc: Pavel Machek , carlos , Peter Zijlstra , "Paul E. McKenney" , Boqun Feng , Thomas Gleixner , linux-kernel , libc-alpha Message-ID: <1069078546.14418.1529084651587.JavaMail.zimbra@efficios.com> In-Reply-To: References: <1084280721.10859.1528746558696.JavaMail.zimbra@efficios.com> <417742741.11550.1528821084084.JavaMail.zimbra@efficios.com> <20180614122759.GB8798@amd> <894222691.12973.1528981314012.JavaMail.zimbra@efficios.com> <20180614132557.GA15201@amd> <1110f198-88c2-544d-6836-f901b8e90f98@redhat.com> <1399480624.13011.1528984006717.JavaMail.zimbra@efficios.com> Subject: Re: Restartable Sequences system call merged into Linux MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [167.114.142.138] X-Mailer: Zimbra 8.8.8_GA_2096 (ZimbraWebClient - FF52 (Linux)/8.8.8_GA_1703) Thread-Topic: Restartable Sequences system call merged into Linux Thread-Index: vpZQClJITZWB/94iLaieeeaI9quhzw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- On Jun 15, 2018, at 1:10 AM, Florian Weimer fweimer@redhat.com wrote: > On 06/14/2018 03:46 PM, Mathieu Desnoyers wrote: >> This would allow registering various TLS data structures with a single >> system call without hindering flexibility on the user-space side. For >> instance, we could still use initial-exec and the __rseq_abi symbol for >> rseq with this approach. >> >> Thoughts ? > > Isn't this just a very narrow case of the usual batched syscalls > proposal? 8-) Pretty much. But let's not go there unless this is really needed. It looks like the added syscall on thread creation is not an issue so far. Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com