From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by sourceware.org (Postfix) with ESMTPS id 894233858C52 for ; Thu, 28 Sep 2023 14:26:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 894233858C52 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=casper.20170209; 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=4veK4h8MnCIHD8dLpIFbw5HKoCnVUh6S/Jh0++RlbFc=; b=oO+IJ5rhHVkD2WElUuMm4fRIjN LxKYnzQ6vkvHTJu9mVx10IyIRe/OrH6eFGm8l6VQj7pCNBMWWZFI9+ISu3amj9xG7hmh19ddQAiul UuoW7Bha8+d/CyvyPtrz9+PF7DYgWdMdn9x45gQinOgdA5eOqCCveDCd0nE8kisONdIhZIb689PcB H7FCgQmhtzDXxNDsIkUjmLQdD6EDNGALUthVVrUZkzKL7Lzc86BubaVmZmPihrPevMyOZ1Bzghrdc YhhrWjBtUxF7/WNFcZRUSeBm0S3hwgiLVguKsGYnIFuqNXLtrG9/2WFO14BPWkzqL4v8KY8BgwvfI 0qJo18CQ==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qlryH-002yth-2F; Thu, 28 Sep 2023 14:26:29 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id B59B63002E3; Thu, 28 Sep 2023 16:26:28 +0200 (CEST) Date: Thu, 28 Sep 2023 16:26:28 +0200 From: Peter Zijlstra To: Mathieu Desnoyers Cc: David Laight , "linux-kernel@vger.kernel.org" , Thomas Gleixner , "Paul E . McKenney" , Boqun Feng , "H . Peter Anvin" , Paul Turner , "linux-api@vger.kernel.org" , Christian Brauner , Florian Weimer , "carlos@redhat.com" , Peter Oskolkov , Alexander Mikhalitsyn , Chris Kennelly , Ingo Molnar , Darren Hart , Davidlohr Bueso , =?iso-8859-1?Q?Andr=E9?= Almeida , "libc-alpha@sourceware.org" , Steven Rostedt , Jonathan Corbet , Noah Goldstein , Daniel Colascione , "longman@redhat.com" , Florian Weimer Subject: Re: [RFC PATCH v2 1/4] rseq: Add sched_state field to struct rseq Message-ID: <20230928142628.GC27245@noisy.programming.kicks-ass.net> References: <20230529191416.53955-1-mathieu.desnoyers@efficios.com> <20230529191416.53955-2-mathieu.desnoyers@efficios.com> <20230928103926.GI9829@noisy.programming.kicks-ass.net> <34ddb730-8893-19a8-00fe-84c4e281eef1@efficios.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <34ddb730-8893-19a8-00fe-84c4e281eef1@efficios.com> X-Spam-Status: No, score=-1.8 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.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Thu, Sep 28, 2023 at 09:20:36AM -0400, Mathieu Desnoyers wrote: > Of course things are more complicated with PI-futex, is that what you have > in mind ? PI futex has to go through the kernel, also, they already spin-wait on owner.