From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28FC8C001B0 for ; Fri, 7 Jul 2023 16:05:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232501AbjGGQFQ (ORCPT ); Fri, 7 Jul 2023 12:05:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229755AbjGGQFO (ORCPT ); Fri, 7 Jul 2023 12:05:14 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75FA91BF4 for ; Fri, 7 Jul 2023 09:05:13 -0700 (PDT) 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=bJ/4kMFcEoq8yUORvnawnYnp0O3fDyhi4EaF0dDHN1M=; b=X4uzKM1S/N/fpykIccHmpd97lZ SFhlm1MT3eEzFbhMXIl5XfK5jpy8pmt39+4nZhlbeAkD3AfcgJ45kHHc+JK27xxwE/lWPb04w4hs6 uYPDNg9dXb13SrAvexid7FAsGZfXfPZ/p3zYYKmH91XD6qd+yHrkyzhQJ2T/8QLRVkRlu21pvcjzy O0G/vIV/r+oJKcz4RGR3/M6SalMSl5y9daeswFCyKGTWfsKM4cJfjSireZu+nvIriQXvOjDc5v6qZ 0BYSwcU5eMgWb8uIFyH7xigHwNII4oSPimCZD3mKNmEL1gMswLuN4jesS9ERCE6J8jAoz9ZiAaN2P EGDGXJoA==; 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 1qHnxF-00C9fa-FD; Fri, 07 Jul 2023 16:05:09 +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 (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id A7481300274; Fri, 7 Jul 2023 18:05:08 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 949172BEFEB3E; Fri, 7 Jul 2023 18:05:08 +0200 (CEST) Date: Fri, 7 Jul 2023 18:05:08 +0200 From: Peter Zijlstra To: Mike Galbraith Cc: Henry Wu , linux-kernel@vger.kernel.org, Thomas Gleixner Subject: Re: Fwd: Possible race in rt_mutex_adjust_prio_chain Message-ID: <20230707160508.GE2883469@hirez.programming.kicks-ass.net> References: <20230706120103.GJ2833176@hirez.programming.kicks-ass.net> <20230707125942.GB2883469@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 07, 2023 at 05:39:38PM +0200, Mike Galbraith wrote: > On Fri, 2023-07-07 at 14:59 +0200, Peter Zijlstra wrote: > > > > The below implements this duplication and seems to not insta-crash. > > RT bits of ww_mutex.h needed tree_entry -> tree.entry. Modulo that, RT > seems content. Ah indeed, just in time. Added, I'll post a real patch soon.