Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4101017pxj; Tue, 8 Jun 2021 06:32:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhRU+mlREO8J/EJpk0uSacGABMVM40cvehMQ7JbjANcE0hNaCzvL7Njy5UyBjmmvGaU9Vf X-Received: by 2002:a17:906:b141:: with SMTP id bt1mr16022305ejb.498.1623159113418; Tue, 08 Jun 2021 06:31:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623159113; cv=none; d=google.com; s=arc-20160816; b=FuznWgqbYV1eKWgB40E/ZBnpJrMVlIztLZDTtJv+P97FQntuC//CO8V2diEkLYwy/m aFlEClOZM7mtn1TuI0kv3hMhKvXdEaRdVewxDOTZ2YyhTtBOQPzxFRrStt3aOfd8Ng5t EwitKBkN4pNL1qcijR98X2aeb25mYxpIoJmJmFDsra23YNDOHwSj/ds6crU3Ppb9Nm9b XefHz80QxYFevJ/US6eRevZyBUPCqL8r9lXNPM0nr85VZ4hgs2q2nzq9k1zETZxbOhfJ PNWiNoUfJxoJf2l/dMHxA6Bp8natG9x68/Kw74NJVMRnQNS7Hk86o7LV80fjZmiiYPli dKKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bU9k3Jv9RyMtgxjnlFXi55FaxIa7jfDpBhRe1NGpL3Q=; b=ZxzCFxd7FM5xRdGPEacLnwd2oiCLhReD/BBexnOGEpvDrhRJS69LojmT5w+l1Vsnnr 9FVB2z1ShjPdDniEOTQhFZYK2RKfZFMf/dIV4MjNbFv+YwYWGr4khNZSiCY71jQak8kF j22vbSDx+dO/4edPSy3hrGdvjHkRcz89Rw3/fsuXt0qoD0SLExa7QWvH5OkF3H+V7HQy IDHfGLjvBI7hmex6OOfp32lTM6OtzTGe2X0Tvw43EyI5DrZk96KwrxhhsIa9EhySa6+j t9zVqS53H4LVg0Cban7GxSTDRMFxKZnz1zmmD0FyXRY/hWRl7s3pcWpZ+CqDpjd89RrN /4yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=I4xnn7D6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j1si15262797ejx.156.2021.06.08.06.31.29; Tue, 08 Jun 2021 06:31:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=I4xnn7D6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232953AbhFHN3o (ORCPT + 99 others); Tue, 8 Jun 2021 09:29:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:59520 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233025AbhFHN3m (ORCPT ); Tue, 8 Jun 2021 09:29:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EBA3E61009; Tue, 8 Jun 2021 13:27:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623158855; bh=D+lp5Yp4s5pc/+bwbwvj8F8yRt2z7XluZm2R3r9rwME=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I4xnn7D6nO1wKo/fcg4fYE7aKLZskLjgMWj8e6jI0ieF+m3eIIHqCO5Ya2Nk0cGFj JNGktwLoKyEit5X+ZPkfGlWItX7AMCktx4v45UkoNeMv63QETKcX/U3LLdKS9yOPbo YzUVGGE/Ublh+2NN8Oh7QZJCXFTGsP/neYQXLBj0= Date: Tue, 8 Jun 2021 15:27:32 +0200 From: Greg KH To: Andrey Semashev Cc: Nicholas Piggin , =?iso-8859-1?Q?Andr=E9?= Almeida , acme@kernel.org, Sebastian Andrzej Siewior , corbet@lwn.net, Davidlohr Bueso , Darren Hart , fweimer@redhat.com, joel@joelfernandes.org, kernel@collabora.com, krisman@collabora.com, libc-alpha@sourceware.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, malteskarupke@fastmail.fm, Ingo Molnar , Peter Zijlstra , pgriffais@valvesoftware.com, Peter Oskolkov , Steven Rostedt , shuah@kernel.org, Thomas Gleixner , z.figura12@gmail.com Subject: Re: [PATCH v4 00/15] Add futex2 syscalls Message-ID: References: <1622853816.mokf23xgnt.astroid@bobo.none> <6d8e3bb4-0cef-b991-9a16-1f03d10f131d@gmail.com> <1622980258.cfsuodze38.astroid@bobo.none> <1623114630.pc8fq7r5y9.astroid@bobo.none> <8fa8b7fd-58ae-9467-138d-4ff4f32f68f7@gmail.com> <3fca0afa-d9db-a176-aad1-ff7db21ba4a2@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3fca0afa-d9db-a176-aad1-ff7db21ba4a2@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 08, 2021 at 04:18:42PM +0300, Andrey Semashev wrote: > On 6/8/21 3:35 PM, Greg KH wrote: > > On Tue, Jun 08, 2021 at 03:06:48PM +0300, Andrey Semashev wrote: > > > On 6/8/21 2:13 PM, Greg KH wrote: > > > > > > So what's keeping the futex2 code from doing all that futex1 does so > > > > that the futex1 code can be deleted internally? > > > > > > I think, Andr? will answer this, but my guess is, as stated above, this is a > > > lot of work and time while the intermediate version is already useful. > > > > useful to who? I still do not understand what users will be needing > > this. All I can tell is a single userspace program wants to use it, and > > that is a fork from the real project it was based on and that the > > maintainers have no plan to merge it back. > > > > So who does need/want this? > > I mentioned C++ std::atomic and Boost.Atomic before. Those need variable > sized futexes. And has anyone converted them to use this new api to see if it works well or not? As was pointed out to me numerous times when I tried to propose readfile(), you need a real user that can show and prove it is needed before we can take new syscalls, especially complex beasts like this one. thanks, greg k-h