Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752487Ab1FMCLe (ORCPT ); Sun, 12 Jun 2011 22:11:34 -0400 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:48539 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751378Ab1FMCLc (ORCPT ); Sun, 12 Jun 2011 22:11:32 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Message-ID: <4DF571C6.9040409@jp.fujitsu.com> Date: Mon, 13 Jun 2011 11:11:18 +0900 From: KOSAKI Motohiro User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: dvhart@linux.intel.com CC: peterz@infradead.org, eric.dumazet@gmail.com, david@rgmadvisors.com, linux-kernel@vger.kernel.org, sbohrer@rgmadvisors.com, zvonler@rgmadvisors.com, hughd@google.com, tglx@linutronix.de, mingo@elte.hu Subject: Re: Change in functionality of futex() system call. References: <1307373819.3098.40.camel@edumazet-laptop> <1307376672.2322.167.camel@twins> <1307376989.2322.171.camel@twins> <4DF2099B.7030600@jp.fujitsu.com> <4DF25463.3080508@linux.intel.com> In-Reply-To: <4DF25463.3080508@linux.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1491 Lines: 31 >> Off topic: current futex documentations are near terribly unclear and >> many futex op are completely undocumented. They are one of root cause >> that every change can make compatibility issue. (;_; > > What documentation are you referring to? The futex man page is a wreck, > and I'm not sure what to do with it since glibc removed the futex() > call. You now have to wrap the syscall manually anyway. Honestly, I don't know linux man pages policy at all. example, gettid(2) also need to be wrap syscall manually. and it's documented and NOTES section describe "Glibc does not provide a wrapper for this system call; call it using syscall(2)". Or, if nobody want to update the doc, shouldn't we just remove futex(2) man pages? out date docs are often wrong than nothing. I dunno. > If you are referring to the futex.c file itself, I have been documenting > functions as I modify them. If you found any of those lacking, please > let me know which ones and I'll try to clean them up. If you're > referring to those that remain undocumented, please send a doc patch and > I'll review and help get it upstream. I'd like to see this improved as well. No. I think the comments of futex.c are very good, at least, than a lot of mm code. ;) -- 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/