Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934190AbbDWLjR (ORCPT ); Thu, 23 Apr 2015 07:39:17 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:34482 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751602AbbDWLjP (ORCPT ); Thu, 23 Apr 2015 07:39:15 -0400 MIME-Version: 1.0 Reply-To: mtk.manpages@gmail.com In-Reply-To: <249593479.34550.1429736494057.JavaMail.zimbra@efficios.com> References: <1429283202-6245-1-git-send-email-mathieu.desnoyers@efficios.com> <1429633790.10273.2.camel@stgolabs.net> <1439042160.34486.1429731801901.JavaMail.zimbra@efficios.com> <249593479.34550.1429736494057.JavaMail.zimbra@efficios.com> From: "Michael Kerrisk (man-pages)" Date: Thu, 23 Apr 2015 13:38:54 +0200 Message-ID: Subject: Re: [PATCH v16] sys_membarrier(): system-wide memory barrier (generic, x86) To: Mathieu Desnoyers Cc: Davidlohr Bueso , lkml , Josh Triplett , KOSAKI Motohiro , Steven Rostedt , Nicholas Miell , Linus Torvalds , Ingo Molnar , Alan Cox , Lai Jiangshan , Stephen Hemminger , Andrew Morton , Thomas Gleixner , Peter Zijlstra , David Howells , Pranith Kumar , "Carlos O'Donell" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1613 Lines: 47 Hi Mathieu, On 22 April 2015 at 23:01, Mathieu Desnoyers wrote: > ----- Original Message ----- >> On 22 April 2015 at 21:43, Mathieu Desnoyers >> wrote: >> > ----- Original Message ----- >> >> On Fri, 2015-04-17 at 11:06 -0400, Mathieu Desnoyers wrote: >> >> > [ Not in this patch: tests (Pranith Kumar has a patch for this), man >> >> > page. >> >> > ] >> >> >> >> Actually, we had discussed that for new syscalls, the changelog _would_ >> >> be the manpage -- at least included in it. >> > >> > Do you want the formatted content, or just the text ? Putting >> > manpage formatting in the changelog seems a bit odd. >> >> >> Plain text works for me. Just divide it up into the usuual man-pages >> sections (see man-pages(7), and I'll take care of the rest). > > OK. Should I do the writeup as a man(2) from the POV of a glibc > user ? It's a bit different when we get to return values and > error codes if we document kernel<->glibc or glibc<->user. Ideally, from glibc POV, since that is the POV od user space consumers. > Moreover, how can we get this into glibc ? An eternal question... https://lwn.net/Articles/534682/ I added Carlos, who can probably best summarize the current state of things. I think there's a wiki discussion on this topic, but I could not find a URL. Cheers, Michael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/