Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751129AbXARASA (ORCPT ); Wed, 17 Jan 2007 19:18:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751425AbXARASA (ORCPT ); Wed, 17 Jan 2007 19:18:00 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:55231 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751129AbXARASA (ORCPT ); Wed, 17 Jan 2007 19:18:00 -0500 Date: Thu, 18 Jan 2007 00:17:58 +0000 From: Christoph Hellwig To: Pierre Peiffer Cc: LKML , Ingo Molnar , Ulrich Drepper , Jakub Jelinek , Jean-Pierre Dion Subject: Re: [PATCH 2.6.20-rc5 4/4] sys_futex64 : allows 64bit futexes Message-ID: <20070118001758.GB17257@infradead.org> Mail-Followup-To: Christoph Hellwig , Pierre Peiffer , LKML , Ingo Molnar , Ulrich Drepper , Jakub Jelinek , Jean-Pierre Dion References: <45ADDF60.5080704@bull.net> <45ADE6B5.8050402@bull.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45ADE6B5.8050402@bull.net> User-Agent: Mutt/1.4.2.2i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 846 Lines: 23 On Wed, Jan 17, 2007 at 10:04:53AM +0100, Pierre Peiffer wrote: > Hi, > > This latest patch is an adaptation of the sys_futex64 syscall provided in > -rt > patch (originally written by Ingo). It allows the use of 64bit futex. Big NACK here, we don't need yet another goddamn multiplexer. Please make this individual syscalls for the actual operations. > + if (!ret) { > + switch (cmp) { > + case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; > + case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; Please indent this properly, the ret = .. and reak need to go onto a line on it's own. - 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/