Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4481404imm; Mon, 11 Jun 2018 13:06:01 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLFapkP35RjzEncbdw5yjROGG5jO1inhxq6ErtYIaAK3QrPLlwS/ePuTCoSgc1MWI0WYPge X-Received: by 2002:a65:4b82:: with SMTP id t2-v6mr483335pgq.175.1528747560947; Mon, 11 Jun 2018 13:06:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528747560; cv=none; d=google.com; s=arc-20160816; b=RhWLPwgfj00jwJJtcoCETlxNxIG+unNY5rzNQHg877STitx9kqKm6fB+m8PY83Ar6e zAWPyLcjCCtW1cJk57sMUlD6x2bVmhxv25fGnCMxyZqmrNIB9NbnSVHbpfXOumQW7F67 YGbqEWGpHA/dcwWpRu90PtM0DRWnJYPHIWqj08jCWbeO4CYtmgijMJoc8DeRSSuBMAH1 61zGCQQZ1FXnHeTMgXwclUaKjMml0oU/TibavLqu+O3SnhaqgutQiuR2CftdhUF0GwSr UzIlwLbTMJs0Y68MGEyS+D/SEOm4uKYyV3dyRsuIiPoA7oW1SJwIy/Hj6KI3lrexWf6D SnpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-topic:thread-index :content-transfer-encoding:mime-version:subject:message-id:cc:to :from:date:dkim-signature:dkim-filter:arc-authentication-results; bh=onpme0irgk/PAatiLRHk5inGwCqrfC8BxU9D1FLcDB4=; b=GNubI/iOFqUXO9WVuWuOjGQo7MwoVegKCQ6YMrQfbntOB88uC+eNwobAV3pts10LrQ tK+9codAmguJD3E4LAqDQoqYdrhvDnU0w0TG5SbdgN5QFWjdIyIDIkmOwU2sGMdW9/lX I/BbmKMncxbzcbqbV7lV1khM4bXzJz88Bu21P9P1DiKdscz0rh5V3VpLJJ654K8KUDod DzgLXt6OLnQLbfhD2uM05FzM4HW4+oAuUI5nUL8j1xCyWRb7NRGVS/y/envAR6r5H9yf 5LqCo2pom3vdyQodT2tv5+LvJu5vUehERLyR3qM3RaNnvzOajsqD36AMdeVPdXM/R+j8 d1XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b=shrYRREw; 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 d2-v6si20125005pgv.562.2018.06.11.13.05.46; Mon, 11 Jun 2018 13:06:00 -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=shrYRREw; 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 S934697AbeFKTtV (ORCPT + 99 others); Mon, 11 Jun 2018 15:49:21 -0400 Received: from mail.efficios.com ([167.114.142.138]:47410 "EHLO mail.efficios.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934347AbeFKTtU (ORCPT ); Mon, 11 Jun 2018 15:49:20 -0400 Received: from localhost (ip6-localhost [IPv6:::1]) by mail.efficios.com (Postfix) with ESMTP id 807181BC5CF; Mon, 11 Jun 2018 15:49:19 -0400 (EDT) Received: from mail.efficios.com ([IPv6:::1]) by localhost (mail02.efficios.com [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id R8Ojig0b47pf; Mon, 11 Jun 2018 15:49:19 -0400 (EDT) Received: from localhost (ip6-localhost [IPv6:::1]) by mail.efficios.com (Postfix) with ESMTP id EC9EE1BC5CC; Mon, 11 Jun 2018 15:49:18 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com EC9EE1BC5CC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1528746559; bh=onpme0irgk/PAatiLRHk5inGwCqrfC8BxU9D1FLcDB4=; h=Date:From:To:Message-ID:MIME-Version; b=shrYRREwXsIj0wLsx/nianaj1BjY/pl1ckVmHK61VRLYAsYLoTWP8QZUMWB46ysbr MwFkRom3Yo/kPIyYEgzHjIWf0RfWdflATifiwh8SC1PQ8wIJzKe6Cm5vxDUurhz+bM FWaC0+BfP4OSV2SMvQFKa/T3Gu0SHuxd23/v4+Lv+RItKN59R8ifbFrjSLu6ckXM+m Vwn0cRN26E4qsf2xO6T+jUsO+IUQ9seBa/tTCRtDk9vt1ClMJjBUyi8D46HAIvkJMn kbATRKbNbmligs/UGZkO7LeEbAQ5OB3+IXDJ4kdIKxwf9mpwD+HEI7rtW2sgWEyyKj poKrKZODR9KiQ== 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 77MTc6G90N38; Mon, 11 Jun 2018 15:49:18 -0400 (EDT) Received: from mail02.efficios.com (mail02.efficios.com [167.114.142.138]) by mail.efficios.com (Postfix) with ESMTP id D74B41BC5C1; Mon, 11 Jun 2018 15:49:18 -0400 (EDT) Date: Mon, 11 Jun 2018 15:49:18 -0400 (EDT) From: Mathieu Desnoyers To: Carlos O'Donell , Florian Weimer Cc: Peter Zijlstra , "Paul E. McKenney" , Boqun Feng , Thomas Gleixner , linux-kernel , libc-alpha Message-ID: <1084280721.10859.1528746558696.JavaMail.zimbra@efficios.com> Subject: 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-Index: Ji+Ih2ToZVzsN7nm//LhgOxKDWsqWA== Thread-Topic: Restartable Sequences system call merged into Linux Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! Good news! The restartable sequences (rseq) system call is now merged into the master branch of the Linux kernel within the 4.18 merge window: https://github.com/torvalds/linux/commit/d82991a8688ad128b46db1b42d5d84396487a508 It would be important to discuss how we should proceed to integrate the library part of rseq (see tools/testing/selftests/rseq/rseq*.{ch}) into glibc, or if it should live in a standalone project. It should be noted that there can be only one rseq TLS area registered per thread, which can then be used by many libraries and by the executable, so this is a process-wide (per-thread) resource that we need to manage carefully. Thoughts ? Thanks! Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com