From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754791AbbCaOqR (ORCPT ); Tue, 31 Mar 2015 10:46:17 -0400 Received: from cantor2.suse.de ([195.135.220.15]:48982 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753179AbbCaOqP (ORCPT ); Tue, 31 Mar 2015 10:46:15 -0400 Message-ID: <1427813146.20009.2.camel@stgolabs.net> Subject: Re: Revised futex(2) man page for review From: Davidlohr Bueso To: Peter Zijlstra Cc: "Michael Kerrisk (man-pages)" , Thomas Gleixner , Darren Hart , "Carlos O'Donell" , Ingo Molnar , Jakub Jelinek , "linux-man@vger.kernel.org" , lkml , Arnd Bergmann , Steven Rostedt , Linux API , Torvald Riegel , Roland McGrath , Darren Hart , Anton Blanchard , Eric Dumazet , bill o gallmeister , Jan Kiszka , Daniel Wagner , Rich Felker , Andy Lutomirski , bert hubert , Rusty Russell , Heinrich Schuchardt Date: Tue, 31 Mar 2015 07:45:46 -0700 In-Reply-To: <20150328114725.GJ27490@worktop.programming.kicks-ass.net> References: <55166C01.7000803@gmail.com> <20150328114725.GJ27490@worktop.programming.kicks-ass.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2015-03-28 at 12:47 +0100, Peter Zijlstra wrote: > The condition is represented by the futex word, which is an address in > memory supplied to the futex() system call, and the value at this mem‐ > ory location. (While the virtual addresses for the same memory in sep‐ > arate processes may not be equal, the kernel maps them internally so > that the same memory mapped in different locations will correspond for > futex() calls.) > > When executing a futex operation that requests to block a thread, the > kernel will only block if the futex word has the value that the calling Given the use of "word", you should probably state right away that futexes are only 32bit. Thanks, Davidlohr