Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1215772ybg; Thu, 4 Jun 2020 04:13:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzl3YnxsNL4NXghfHfeVgEfHaC+djD0rGgAOERvUSgDLNywAG5zUSqszxG8V8oGPE5gzm4b X-Received: by 2002:a17:906:ecfa:: with SMTP id qt26mr3441619ejb.493.1591269182399; Thu, 04 Jun 2020 04:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591269182; cv=none; d=google.com; s=arc-20160816; b=IwplTqZWrvElu7ybPPlOANLxWF9Lnrd/VZysxcp8BM/eOK1Sz/c0h8mWmQgYaszE+5 125AEMi2GdAQ/4rhVSHlSHx4TfRb7qHK6PiqAp7PN9bqqO2ecs8EoACgMfoiq5Pc+xmu 8jWoUypjJdI3UNg2Ijg3eJjLmWHnY0YkAVcp5dhywjxvhZCAYSpajRpIxgO6ODWaExO7 jvqOXYNm2R2lo1Kwv5v1/HYVgay3SWXYmpc8iCpnYaG+5929gVzm55ur5+HHmoxc5acw z1gcEHqfH3rwjGWph4qOlVQkK3DXyGXyCfHmRr97HIVeMnWF/8bPekuKLssDQuc+aCFw yu0Q== 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; bh=1KUporPmaXnM01aB++UOwuHWfy+Lc+22xlsbm4M+iEY=; b=dzxAi5+ZKGsSJ2VXnwf0Dx5Ipd9XyC2ZUKw5DyKPWTwh1LkVTZhK/FSQVOw7k5/65k cJor3kBM09gA+Bm4LQvUJvGMVH4HOQjqxi3REuemK60XlExfdOLTJRRfILEBC+swqgyW DhJ9igzXKKcZeA4h8KQ/n+E/q0ZqFqsH6OsWHugNS1Szy2u/DdjUWOu2RaVs4QBeYfK6 yXoXXvwJr48cSkX1nWmE8kXVFi/0NMMuQT/Y7qUMyZrUwrwGIND+UAd2clNDn4IwCXfX pU7yUb/f5tlKiaqwssLhPMiat01UhW4sSs4BflNR0blX9tFIpv251o/aIDHos84wfvTL sx9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b=iYnI6N0d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id r25si1430336edi.172.2020.06.04.04.12.39; Thu, 04 Jun 2020 04:13:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b=iYnI6N0d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726187AbgFDLK6 (ORCPT + 99 others); Thu, 4 Jun 2020 07:10:58 -0400 Received: from mail.efficios.com ([167.114.26.124]:44980 "EHLO mail.efficios.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725882AbgFDLK6 (ORCPT ); Thu, 4 Jun 2020 07:10:58 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id EEBF32C5456; Thu, 4 Jun 2020 07:10:56 -0400 (EDT) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id lABorUU7fUUP; Thu, 4 Jun 2020 07:10:56 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 952022C5455; Thu, 4 Jun 2020 07:10:56 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 952022C5455 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1591269056; bh=1KUporPmaXnM01aB++UOwuHWfy+Lc+22xlsbm4M+iEY=; h=Date:From:To:Message-ID:MIME-Version; b=iYnI6N0dTWNo/PGXrBPIgA48+Bic32iPb5gH9BB+4odj9lFzDoNsDBYddXODI6OKT aPiIwzA8ajSDPSDYt7pVjJU9+h2Np+I43FJ2Up2C4HxpwUA1L5143hU1eyraoJn2J5 DSGIig7yN4OQa8MtafuSzE652+DV2C1l8R/JHiCMkxo7xszbnjCrrJzS44Xunz/D3t GBcE/CoS0bAhGvKU07FWiUKifyKIWg1DB70jQNtuVf9qqsBIuTRtLQsVtno64FHVl/ M1Ckp2a4yKev6d0W9FAKgZKo+0u7Vhr5KXtNPg2zsGTn4RNTgpAAOS58PoC2Gy9CmG NUhO7ZI8IMLzQ== X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id cI2TZ8maBAHa; Thu, 4 Jun 2020 07:10:56 -0400 (EDT) Received: from mail03.efficios.com (mail03.efficios.com [167.114.26.124]) by mail.efficios.com (Postfix) with ESMTP id 822AC2C553F; Thu, 4 Jun 2020 07:10:56 -0400 (EDT) Date: Thu, 4 Jun 2020 07:10:56 -0400 (EDT) From: Mathieu Desnoyers To: Joseph Myers , Michael Kerrisk Cc: Florian Weimer , Rich Felker , libc-alpha , linux-api , Boqun Feng , Will Deacon , linux-kernel , Peter Zijlstra , Ben Maurer , Dave Watson , Thomas Gleixner , Paul , Paul Turner Message-ID: <188671972.53608.1591269056445.JavaMail.zimbra@efficios.com> In-Reply-To: References: <20200527185130.5604-1-mathieu.desnoyers@efficios.com> <20200527185130.5604-2-mathieu.desnoyers@efficios.com> <87d06gxsla.fsf@oldenburg2.str.redhat.com> Subject: Re: [PATCH glibc 1/3] glibc: Perform rseq registration at C startup and thread creation (v20) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [167.114.26.124] X-Mailer: Zimbra 8.8.15_GA_3928 (ZimbraWebClient - FF76 (Linux)/8.8.15_GA_3928) Thread-Topic: glibc: Perform rseq registration at C startup and thread creation (v20) Thread-Index: zF49gywpspZcwIriHJ+0g73PGzbsCw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- On Jun 3, 2020, at 1:22 PM, Joseph Myers joseph@codesourcery.com wrote: > On Wed, 3 Jun 2020, Florian Weimer via Libc-alpha wrote: > >> I'm still waiting for feedback from other maintainers whether the level >> of documentation and testing is appropriate. > > Looking at the documentation in the manual, it doesn't look like it has > enough information for someone to use this functionality, or to know when > they might want to use it, and nor does it point to external documentation > of it. It would seem appropriate at least to include a link to wherever > the external documentation is of what this functionality is good for, how > to create and use a "Restartable Sequence critical section", and how to > "perform rseq registration to the kernel". That external piece of documentation would be part of the Linux man-pages project, maintained by Michael Kerrisk. I have submitted a few revisions of the rseq(2) man page, but have been waiting for Michael to reply for more than a year now: https://lore.kernel.org/r/2021826204.69809.1588000508294.JavaMail.zimbra@efficios.com I'm thinking about hosting a rseq(2) man-page into my librseq project, would that make sense ? librseq is currently a development branch in my own repository for now. It still needs to be tweaked to adapt to the various changes that went into the glibc rseq enablement patchset, and then I plan to move it to a more "formal" home: https://github.com/compudj/librseq Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com