Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3383009rwb; Mon, 7 Aug 2023 12:35:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IERMRyG/CLrHL0Ervv7o2sYLb6ZZzURn9/0pU9pNuOzHL7UItkTSxJ+6WAWbP97cLdwfAFc X-Received: by 2002:a17:902:ab88:b0:1bb:9bc8:d230 with SMTP id f8-20020a170902ab8800b001bb9bc8d230mr7508756plr.23.1691436959085; Mon, 07 Aug 2023 12:35:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691436959; cv=none; d=google.com; s=arc-20160816; b=BAat3jgpolFlbelvnTN3bFnBga5gO8bnSpTDA5MKr/Iz0YzZyanJKceRA6pVIxs7Ti nmlR8A1nM/ok3EE00YilP5yF5QZnzBds0/X2WUPBVp2Xkxd/4CR9NKAtkveCPO6sZ3S9 IboW6oTIImez+Xr8U0rP6uxDTSlP/0TsH4sZx9VXEaynbUkR+c4y/7iRjo0Q5E5SjAhy YkYbBDjRFX/IjlH2a+rDFCh9osPKloc0bz20+AVS/LoJpeR5IlAAp4FflD/JSVWcS/gc LetMIC6DbbHmnInw8Pkd139+Bz+AwaSAo9PKLVSxdSU3YI8pLqlXReLZ69v01AWV+E70 T8CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=Sjw4cSUjNL/q8ajSLPjc5AEn3VQI4EuB25tHGD5K1UQ=; fh=c/oG948lqqQaw1dgy42869EAUe64C4rL+pEYrVJKmmY=; b=fBJp+ZksIX4mcl9apLEeK1mU+T7maqegz+jO7gk5+rzqx0RqzzMv8Gk877AFxX3IIk nvXw7eQTsKhJNh0hQtCH1tfHLvVYxe/pZJFPHIZPWycG6xLPtm2QpFB31RU0hsqIsx0b bObwFXgWGZDhsLJ7J1OicdlBVqkLBN81LDRd2t/+BNdb5nRoYdFkBRsQJHlrT+QOfuNx q6c2hfbGGIMVJV5d+fwk6Yhy6h2rMmqmgCluX8WDMXHHKD87Cd6XD2MO3g5ys3feklfe 0sVHvitAgx1Fa4VBHfzaFYSKkxjDA/eoLdpX4tr9XvhZn/UI4nk+zmaSLrT2Fx6CpX2h qHmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=B8oIAA9w; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=o78RTxUA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j15-20020a170903024f00b001bc13e00c4fsi6121533plh.501.2023.08.07.12.35.47; Mon, 07 Aug 2023 12:35:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=B8oIAA9w; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=o78RTxUA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230155AbjHGTA1 (ORCPT + 99 others); Mon, 7 Aug 2023 15:00:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229553AbjHGTAZ (ORCPT ); Mon, 7 Aug 2023 15:00:25 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB1E710F6; Mon, 7 Aug 2023 12:00:24 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1691434823; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Sjw4cSUjNL/q8ajSLPjc5AEn3VQI4EuB25tHGD5K1UQ=; b=B8oIAA9wCOVrL3GA6hvcsjMrElEl6hLOHrz0Pe+VB0+wKr86a95yQKpfysM2jfrQAStpYU j5xIRnaOcBvyuIYhEYz4Yi0k+zLYwq9Ss3Bzbe6ivmt288iVn5H/74uFuOVcl0p9TKMSwx gC9mJuJ4JepS4CiBXCsUXq12r4mZgmVlxNr6K6vqCpjOx69qf7X+w5C5I08noMLR+HU82a S+Obrbr0g8VQDdyaTaC0Rdli1u6HtYtIxinOqVP2JrbHo+zFY1+dItNU8L4E3/+MDmyIL1 mLT9bcbilTk/YoJNlelQPczE1Sldzidy0ZCDqluEjmSRgGlCrm+xRIS1Tvl1dA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1691434823; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Sjw4cSUjNL/q8ajSLPjc5AEn3VQI4EuB25tHGD5K1UQ=; b=o78RTxUAakCGYH/QRc/fD8D0FCuhykp7DaxVY8AQvyd3X5uWqr6sN0Ooy1XtP5gEEpxMma 1L6qS7Lp1fDEEuBw== To: Peter Zijlstra , axboe@kernel.dk Cc: linux-kernel@vger.kernel.org, peterz@infradead.org, mingo@redhat.com, dvhart@infradead.org, dave@stgolabs.net, andrealmeid@igalia.com, Andrew Morton , urezki@gmail.com, hch@infradead.org, lstoakes@gmail.com, Arnd Bergmann , linux-api@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, malteskarupke@web.de, Geert Uytterhoeven Subject: Re: [PATCH v2 05/14] futex: Add sys_futex_wake() In-Reply-To: <20230807123323.090897260@infradead.org> References: <20230807121843.710612856@infradead.org> <20230807123323.090897260@infradead.org> Date: Mon, 07 Aug 2023 21:00:22 +0200 Message-ID: <87o7jiu189.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 07 2023 at 14:18, Peter Zijlstra wrote: > To complement sys_futex_waitv() add sys_futex_wake(). This syscall > implements what was previously known as FUTEX_WAKE_BITSET except it > uses 'unsigned long' for the bitmask and takes FUTEX2 flags. > > The 'unsigned long' allows FUTEX2_SIZE_U64 on 64bit platforms. > > Signed-off-by: Peter Zijlstra (Intel) > Acked-by: Geert Uytterhoeven Reviewed-by: Thomas Gleixner