Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp32174408rwd; Fri, 7 Jul 2023 09:40:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlFgUGWox7A+wHvT5hNOR+mtujLp6V63czcL9qQ44HXsm8J/OX1IqdPW81j29oiRCDjTAdfS X-Received: by 2002:a17:903:258b:b0:1b8:1371:8318 with SMTP id jb11-20020a170903258b00b001b813718318mr4389659plb.33.1688748021760; Fri, 07 Jul 2023 09:40:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688748021; cv=none; d=google.com; s=arc-20160816; b=blNSc3/ajGIh50KxFaYIXfRIZsfNgOtpD6wlkiQM0eWZHqlHIFj7C6f+YEez+N/pFn iG7QLDWUTN5BzsBi66bMs9GTBTsIrG1F8YT+ocEJcflHM0EbYp7t0eUpBS/pYWOBH2fW FhgEV5nc/gvPicg/kYAYYmJ2BAfCr38Lxl1Hg3+g+tOd5+FsFSukPqvwkaPKsZk0z6/y c70a1JhXTj1WeztRvMUcJY2Ng4pa0c0nVEUnQEwB/CvZJLRbv/0viyyDR5S5/xdWhoT6 oDp33O36m1P5s8ZLjR5zDjZVG9x4Jv0rJuxKwx3i0wGow16a7+ncv8UqxAKDLKiqKLie BTGA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bJ/4kMFcEoq8yUORvnawnYnp0O3fDyhi4EaF0dDHN1M=; fh=4NZxOcoqv9jCR3q939e9mgDO+XZSvcyAktpnjhtjNEY=; b=ysoH0j4ofPgIexoRIA75pqmHEB6rcq+eT0bJgwdE0MfNm6vzp57skWhUxLTeJmO2WZ marFEVkQQDCRhuDxIUb6+6c57/l/31ctScTfJ2V08cSRV/iJjSxjufxIfSWBlhnw6pE7 BNBh9Dqnk/XvxZvb7dxmt524v6W9HOT3chMKA20Bs3vhlALjo1TGEYrtA4N1XAIokDzU +sqokr3iCW4aC++GJLrbhv1nq3fubNsYe4H5ik/WMfIT0U3mcj3eXvRjClrLoDGSkU2E Gp2cnJVouz4wYmykvEUZj+FH1pVzPMLkcvkzASAMBGvgslJ7UYCTnpH1EcrnZMjCtdVm kRhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=X4uzKM1S; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a170902f54d00b001b88ff83e45si4298167plf.571.2023.07.07.09.40.08; Fri, 07 Jul 2023 09:40:21 -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=@infradead.org header.s=casper.20170209 header.b=X4uzKM1S; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230012AbjGGQFP (ORCPT + 99 others); Fri, 7 Jul 2023 12:05:15 -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: 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_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 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.