Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp19226964rwd; Wed, 28 Jun 2023 06:47:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ53lPSSiHi1c6+Ga2LBRbSIE2EXsBU3tIyhsrrhOMwgphAATfS9ATS+JQwTQOXth4d7bS4+ X-Received: by 2002:a05:6a20:1590:b0:122:e7d:99c0 with SMTP id h16-20020a056a20159000b001220e7d99c0mr24879257pzj.31.1687960060044; Wed, 28 Jun 2023 06:47:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687960060; cv=none; d=google.com; s=arc-20160816; b=wFA0/RvHlQ8pjs9K2tLSqSKtDSU36BixB2hOgzQTfILkb4yWXx01Kg6+LzHzrOBwHC GUBSVU4DwI3ZsKoucyNsUQ6ExXsXCAwyTu55owYxTePQ2R4XT7tgxqxG2p+yzXNTuOpa +yAOZ+/8e7Bt6UIrRB0U23L239yGEKnBvPP5qqNXrDErhL5jVFFuXF+8V8XDu0GRQd2x oJzL04dp38DGyMi6Bh0Rs8PA2W6i4P8Q/Qo53hBCRrZD+gPdjAMBoXGo5Fdt8y812gFK iP56YDJUHwGznnT5eXwm6toWeZyCha0VBNFAX2p8XgPlC/YFmwQ4r26jDOKylvE0jWT5 ktcA== 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=qUR2HzgwIlf0PNY2Vlu5mCQ2oSpb3hPdwXu6404Qku0=; fh=v3l2LwenKmLNQQRMq/KGQx9D+l8J2ATwxoOlF0Rg2K4=; b=bxTnzUn0+Z6V41enZ3/D9FpI52VxM2hE6OgngfEDRQUxTyMxcB9Uwn8TeSVcOk7IMc kVEwnai1qWLdMTPyfNuJpZkbWRhX+KK0OLplvIO/e8DjLfLMrncSYWz+l/naoAo2OKmk luiSvaeZy+xyoLgllz0WBEeVCR99c3yFtzvmFNdf3RXOWuLJipT64xk+sGovd1SSeZ98 CRrV93SB2KRYUtXIP3ChrMsouNFnMAZS89BxAqBpCbaeYXidDFuEkivV4+XqQzrpjJOR qm/QyjkA0SEOuTyvf0i0kHAzPxkcEFx44oCWXXG2sN0h68KvpKWm0Sb86rOEo3tPfLWl 9sGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=oNPRliG9; 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 e26-20020aa7825a000000b00666e510da4csi8281922pfn.237.2023.06.28.06.47.27; Wed, 28 Jun 2023 06:47:39 -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=@ziepe.ca header.s=google header.b=oNPRliG9; 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 S230059AbjF1Neo (ORCPT + 99 others); Wed, 28 Jun 2023 09:34:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231949AbjF1Neh (ORCPT ); Wed, 28 Jun 2023 09:34:37 -0400 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C31FE4B for ; Wed, 28 Jun 2023 06:34:36 -0700 (PDT) Received: by mail-qt1-x830.google.com with SMTP id d75a77b69052e-4007e2598f5so48836561cf.0 for ; Wed, 28 Jun 2023 06:34:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1687959275; x=1690551275; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=qUR2HzgwIlf0PNY2Vlu5mCQ2oSpb3hPdwXu6404Qku0=; b=oNPRliG9VY+Ifto9VK55An4ZLzSoDr3+cniSDmjBLIP5fl9JjUesDjlxr59tjQPhgV ut9w3ETh46NQMbYBUZW+R/yfR1mIEEwIFZV9urrs5adpkFBbPuigvCCUrJle6rMDrcyx 3MM4V2aMXUYBP7tHkW/94hHbz5W8O6eTQLfSbtbn4nwaU+IiclvEgAWlZDGhg6MZTZHN b8OXek8CX4wwM3aJQ2TnnS9S2xDzgMhPJFyW1SXW24V82PCqYS36u+xKY3fz/UvxVyta ahVKDtyvWDwppv442ou8OK1l0vrU2VSl9pLw6+RLIVyXBnvk29uz39sQrZ21HP0elTjU jwEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687959275; x=1690551275; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qUR2HzgwIlf0PNY2Vlu5mCQ2oSpb3hPdwXu6404Qku0=; b=Fmq24nPHFNGDPNsRyYUTV8sVwV1V3PIZJX+VABJ9ZZDRuLLKdrK5RqRj0MP9fxONzM GusShHbHupD3Dw8Sh5hL8i1FVH45ZMoByg7C1UTnq2z/t61IdsqELMDKm+/HeydW7Tm9 X1ARrgHvrMOznlDwfgSiGBx9AboHoslbXgPCiFUl8uqD8z2bLXarW575VKmnrfE6Slzl vm8eR3lKLS0T0bwDgKaaFkhKy5J5v9GHVWTvrCDQjpVIpV//lhJeHxnGAo29hOCcxGQF QS0aSvQBot9Gw6FblYjbOOE92UclUhllnCy+2fdFmvq8KYTILVDHx1c4IIe1WqDKD56I RKRw== X-Gm-Message-State: AC+VfDziIfj+8ovqMS6lFfyHGBsTtOmOsWtz7NoslYK4WKiYZASQxcOo GTTC0YWvm0Yqn9ZTz0sCLo1zKA== X-Received: by 2002:ac8:5e53:0:b0:3f6:c609:e9da with SMTP id i19-20020ac85e53000000b003f6c609e9damr42900911qtx.44.1687959275398; Wed, 28 Jun 2023 06:34:35 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-142-68-25-194.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.25.194]) by smtp.gmail.com with ESMTPSA id cc23-20020a05622a411700b003f7fd3ce69fsm2766717qtb.59.2023.06.28.06.34.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 06:34:34 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1qEVJa-009NuX-4G; Wed, 28 Jun 2023 10:34:34 -0300 Date: Wed, 28 Jun 2023 10:34:34 -0300 From: Jason Gunthorpe To: "Paul E. McKenney" Cc: Linus Torvalds , Zhu Yanjun , Leon Romanovsky , linux-kernel@vger.kernel.org, kernel-team@meta.com, mingo@kernel.org, tglx@linutronix.de, rcu@vger.kernel.org Subject: Re: [GIT PULL] RCU changes for v6.5 Message-ID: References: <963d6eb8-6520-4c33-bbe8-6c76205bfd3d@paulmck-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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_NONE, SPF_HELO_NONE,SPF_PASS,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 Tue, Jun 27, 2023 at 11:30:46AM -0700, Paul E. McKenney wrote: > On Tue, Jun 27, 2023 at 10:56:21AM -0700, Linus Torvalds wrote: > > On Sun, 25 Jun 2023 at 08:35, Paul E. McKenney wrote: > > > > > > git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tags/rcu.2023.06.22a > > > > > > o Eliminate the single-argument variant of k[v]free_rcu() now > > > that all uses have been converted to k[v]free_rcu_mightsleep(). > > > > Well, clearly not all users had been. > > > > The base of this RCU was v6.4-rc1, and when that commit was done, we > > still had a single-argument variant: > > > > 7e3f926bf453 ("rcu/kvfree: Eliminate k[v]free_rcu() single argument macro") > > > > but look here: > > > > git grep 'kfree_rcu([^,()][^,()]*)' 7e3f926bf453 > > > > results in > > > > 7e3f926bf453:drivers/infiniband/sw/rxe/rxe_verbs.c: kfree_rcu(mr); > > > > so the RCU tree itself can not possibly have built cleanly. > > > > How the heck did this pass testing in linux-next? Did linux-next just > > assume that it was a merge error, and fix it up? > > Because idiot here failed to notice that the needed change was only > in -next, and not yet in mainline. It passed testing in linux-next because Stephen fixes eveything so it compiles: https://lore.kernel.org/all/20230328121609.68105dd5@canb.auug.org.au/ It seems Stephen's report is a bit odd because it wasn't a merge issue vs rdma, it was vs v6.4-rc1.. I suppose the question is why didn't something like Intel 0-day catch it when it trial compiled the RCU tree's branch. BTW, Stephen's merge is different than yours, his is based on Bob's note here: https://lore.kernel.org/linux-rdma/e704127e-1bfe-f351-db95-bfea6916e8f9@gmail.com/ I'll fix it in the next cycle. Thanks, Jason