From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72389 invoked by alias); 13 Jun 2018 11:48:44 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 72278 invoked by uid 89); 13 Jun 2018 11:48:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=integrate X-HELO: mx0a-001b2d01.pphosted.com Date: Wed, 13 Jun 2018 11:48:00 -0000 From: Heiko Carstens To: Mathieu Desnoyers Cc: "Carlos O'Donell" , Florian Weimer , Peter Zijlstra , "Paul E. McKenney" , Boqun Feng , Thomas Gleixner , linux-kernel , libc-alpha Subject: Re: Restartable Sequences system call merged into Linux References: <1084280721.10859.1528746558696.JavaMail.zimbra@efficios.com> In-Reply-To: <1084280721.10859.1528746558696.JavaMail.zimbra@efficios.com> X-TM-AS-GCONF: 00 x-cbid: 18061311-4275-0000-0000-0000028D4F03 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18061311-4276-0000-0000-000037947862 Message-Id: <20180613114811.GC4342@osiris> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: Quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-06-13_05:,, signatures=0 X-SW-Source: 2018-06/txt/msg00304.txt.bz2 On Mon, Jun 11, 2018 at 03:49:18PM -0400, Mathieu Desnoyers wrote: > Hi! >=20 > Good news! The restartable sequences (rseq) system call is now merged int= o the master > branch of the Linux kernel within the 4.18 merge window: >=20 > https://github.com/torvalds/linux/commit/d82991a8688ad128b46db1b42d5d8439= 6487a508 >=20 > It would be important to discuss how we should proceed to integrate the l= ibrary part > of rseq (see tools/testing/selftests/rseq/rseq*.{ch}) into glibc, or if i= t should > live in a standalone project. Is there any documentation available of what is the exact semantics of the functions that have to be implemented for additional architectures? I could look at rseq-skip.h and e.g. rseq-x86.h and try to figure out what would be the correct implementation for s390. But having that somewhere written down, e.g. as comments in one of the implementations, would be very helpful.