Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3388683rwb; Mon, 7 Aug 2023 12:42:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEi90O+4O0Rum7JwadJIq4u8keM56PRDMgLpYP7zavOq6fG9ObQWTAgGAY9i+mHV/hnGijZ X-Received: by 2002:a05:6512:110a:b0:4fe:ec5:ebb5 with SMTP id l10-20020a056512110a00b004fe0ec5ebb5mr7081734lfg.58.1691437353524; Mon, 07 Aug 2023 12:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691437353; cv=none; d=google.com; s=arc-20160816; b=b/VoHRHSE0htwXnJYuSFNiO5pLj5CyJJpNkMJersSg4E6DRPIfZhhTKiU/ZVV1hqF2 l/CbmSGD6wylxgmRojROEYcdI2wY3IetwgLdyMIcQpB5l6K66KgYEueMbgaUyShD06wK bLd2Di+O3FTB0IOQ9yX/HtJBIVn9aP3nsufONFj2G9XryMsck793H6unFq7kgcOL4gRP 5o7v79ViYJct4KQTEOSvusYeELoctHZjmL2aOaB63VCsKRHsni8yTasJjqTb1oLwTBnL 9XHrIvAbNUF/+5T+XKmmrWt7i7D4VXPigqh9rwkjzH3oiRlkj9JfwbmYpgKrfpFD9zL/ UiJQ== 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=YP2zK7ZMAVThEbj019VSrMDom4gG7G3CXJLRPYqN3Bk=; fh=xxHYUAYzGbxZHZHiTvUbuIcuHusI+eZA6qmV5uBhRJ0=; b=HEccrKf20Oy/RN1LmMMJVA+Tr4Ib1XJtaW0ayp1OHPEGjwUvGj9ahlsmDlV6kjmWKL T3snbody7hPzOdpq2PLmWt/+4ORUHCQ43BmBEj8Ijf1TI3wj5Iuy+LgrM9rabBKynSHY ABwgLCsH9y5a3lbvAhAGmV4MJxU/AYSUIDI9PzAj5DyUGyLDdeZvRPhGWCzi1/tYGXRi CT7aBOYqDPI4mpals9VGb4ssYcDA8T1ecB04/tpxhP1xLohqTNQsGIvPQGG3WH2GvIdR cVD84PzypgOY5w+YlCx4WPwkEpQzdMRnT46WJHBUMKrf4bAQdzBedI2nmlcyMDCnlMaK UiRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=uWFiCYBh; dkim=neutral (no key) header.i=@linutronix.de header.b="/wNw8ZUH"; 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 d25-20020a056402079900b005232e0d840fsi3134057edy.254.2023.08.07.12.42.09; Mon, 07 Aug 2023 12:42:33 -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=uWFiCYBh; dkim=neutral (no key) header.i=@linutronix.de header.b="/wNw8ZUH"; 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 S231146AbjHGS6x (ORCPT + 99 others); Mon, 7 Aug 2023 14:58:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230386AbjHGS6t (ORCPT ); Mon, 7 Aug 2023 14:58:49 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2643219A6; Mon, 7 Aug 2023 11:58:42 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1691434721; 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=YP2zK7ZMAVThEbj019VSrMDom4gG7G3CXJLRPYqN3Bk=; b=uWFiCYBhkxn+6kYZqMelMl+kg4iJMtuoKCoNEvZaf1yIxAHlT8U2c487idrMfRVhp/CpwZ ZZ/l95rq4Ho46MQeIQBzFPeH1WGr+wgwWzJTKDnNIcnFEFQPzfYZQADQQ3YM2h3t6pJJUn i4RY+0DEpaVHnX+wF2rnQd4G3xnhNSB+zA6Mg3AHa/mFCZEeAG0i/ChM5DcJcGd60FHoar 0+w8FnjnoVbbhl4HaNtkMy4OpDegRF0AYRlAcShRDmbjvCJgMunc+/AOrJ2zdJvEI9AVyR A/MMn105X/NXBNHL8Qk1bVlGWmxRbCLyHZ6r88S/2r1R9x8nW/BBjnVefgnHmA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1691434721; 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=YP2zK7ZMAVThEbj019VSrMDom4gG7G3CXJLRPYqN3Bk=; b=/wNw8ZUHVf4nUYcTeRYg5WDdSF3LFHqD5xIvOIi1XO2ciEjkKhkDaesaG73ZbEoZENZrlF otn9fgm2RZN23FBA== 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 Subject: Re: [PATCH v2 03/14] futex: Flag conversion In-Reply-To: <20230807123322.952568452@infradead.org> References: <20230807121843.710612856@infradead.org> <20230807123322.952568452@infradead.org> Date: Mon, 07 Aug 2023 20:58:40 +0200 Message-ID: <87r0oeu1b3.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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: > Futex has 3 sets of flags: > > - legacy futex op bits > - futex2 flags > - internal flags > > Add a few helpers to convert from the API flags into the internal > flags. > > Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Thomas Gleixner