From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by sourceware.org (Postfix) with ESMTPS id CD5353857800 for ; Wed, 15 Sep 2021 15:38:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CD5353857800 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: sourceware.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=my5GhDl9/XfKpmw0KmGJa95nBwjwsu3UtxUJArbSNII=; b=U4bU/slaNoXy01+dToghzpYMqQ vd9MHsbyzYWmjx+LTrXUQ9T7PG3AeXXJa7LMUEpkElEBtepi+1mlqLk2cu7X5spgcsamiZvuKp+wJ XJC7QXYSMaEj5E/Ob+TB3wNPcH8H0MPGGPaEWq45v8WjuZSCLiu9n4jlWCgKdNA7nbRmStuvw5laz W3zjpx9EnIg0R2c0vSRl9s+yjD4HpGrZzLkwHODXo6ze+hzvGGeG8TZUIVGDcSwro/wGSm7tYFbAw W6KFSTswah5QN2ePjjBgDrxBtDkNUz4mfQGp12JHRi2l5akSttz9qPV7wazb4PEiXzmEvA5PlaDwZ SvNNWqHw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQWyw-003QPg-E8; Wed, 15 Sep 2021 15:37:54 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 8E88C3001C7; Wed, 15 Sep 2021 17:37:53 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 6F69129BBD807; Wed, 15 Sep 2021 17:37:53 +0200 (CEST) Date: Wed, 15 Sep 2021 17:37:53 +0200 From: Peter Zijlstra To: andrealmeid@collabora.com, tglx@linutronix.de, mingo@redhat.com, dvhart@infradead.org, rostedt@goodmis.org, bigeasy@linutronix.de Cc: linux-kernel@vger.kernel.org, kernel@collabora.com, krisman@collabora.com, linux-api@vger.kernel.org, libc-alpha@sourceware.org, mtk.manpages@gmail.com, dave@stgolabs.net, arnd@arndb.de Subject: Re: [PATCH 16/20] futex: Implement sys_futex_waitv() Message-ID: References: <20210915140710.596174479@infradead.org> <20210915141525.621568509@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210915141525.621568509@infradead.org> X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2021 15:38:02 -0000 On Wed, Sep 15, 2021 at 04:07:26PM +0200, Peter Zijlstra wrote: > +SYSCALL_DEFINE4(futex_waitv, struct futex_waitv __user *, waiters, > + unsigned int, nr_futexes, unsigned int, flags, > + struct __kernel_timespec __user *, timo) So I utterly detest timespec.. it makes no sense what so ever. Can't we just, for new syscalls, simply use a s64 nsec argument and call it a day? Thomas, Arnd ?