Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18065586rwd; Tue, 27 Jun 2023 11:05:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4aVoNqvCjsFL7GscBUBppkgRjYPRk6Cy+7kJRpE5P/1bsESh5s/4U0PnQAP6XuAlgZ+yun X-Received: by 2002:a05:6a00:39a7:b0:66c:2d4e:4772 with SMTP id fi39-20020a056a0039a700b0066c2d4e4772mr8384221pfb.13.1687889135391; Tue, 27 Jun 2023 11:05:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687889135; cv=none; d=google.com; s=arc-20160816; b=m7DuQxfJUqGgn4rhkJh8XSuws/YDQmTsHnNHpG5CDCw9YvBQq3ClgwEyPneMJo3C4l wT2+aEHL7UJIFF2MAhVWdzjdwzgQoSFlG6TuRZk4tjK4IzlN8jt0Mx/7X0tL4Q5FfQro vvVqwTtJ8kUyhVmgLxWIC10DH1lUVYBKvmw/j1pc4zrYpyzStX94aMxM/4Zfo26+X3QU 8XaVSfaI4enQWmoum/T2Q9X99glScbcik7PuLAIHTZwCGBDaZ5zruWv0FecKWpS+kJVk O5N+LG/t0ITyRMXOlgkOcMQzUOMSYwUlvfbs/Pq468wucELkIZ/ae4iuWAdsdCkbKLmP 3rRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=BBM9HTbVE8IN9zkGnkp6xc3S5GpMqGP8gETPCnCzVXo=; fh=sJgPQDC1rUyjJNPQXRAPVNe5aXXlPum0KKDosZS7n84=; b=j/riqdsL/EDqgOng/Ko1+MaCVLbCnBqIrdu8VQwfrxl1enSn6FnDxRu1LE+wrC0R8V QHsa2JN8VKjOiCAw5q4TqkADKUHwN/Fu7APY1K8wD0uG9ouuwCy6ENL7/gOyoWCIWcLo xVO+E11cqJHmmIJQ8ZrD+s3Hf/aRh6FUFQhJCWGkCLL6Mb/1OUcNBhcX8L2uVBMM6fHD ZdB4npXaoOQKMF1+yqU8vwoz9gW41NmV2pnT73u/T94D5U0ab5WS/TFwN5j66awIKQze OopmIi1xeIcGnUfjZv1RpupJDAHKU+MzT+ZYhmW2FZk1pGgUNt+TF8hQV4PBTNa/2DjK FXLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=ZAKtTuJn; 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 r20-20020a6560d4000000b005538c5bef9csi7429430pgv.452.2023.06.27.11.05.18; Tue, 27 Jun 2023 11:05:35 -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=@linux-foundation.org header.s=google header.b=ZAKtTuJn; 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 S231740AbjF0R4o (ORCPT + 99 others); Tue, 27 Jun 2023 13:56:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230195AbjF0R4m (ORCPT ); Tue, 27 Jun 2023 13:56:42 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7EE71BD1 for ; Tue, 27 Jun 2023 10:56:40 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-51d884a22e7so4652896a12.3 for ; Tue, 27 Jun 2023 10:56:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1687888599; x=1690480599; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BBM9HTbVE8IN9zkGnkp6xc3S5GpMqGP8gETPCnCzVXo=; b=ZAKtTuJnvBJ0mMPXJRzdMshkWjH33bH2L3xcGz1iqCddlIVwQQwZ1nsVXMGqNKgCac mZvJD56rmK9hLaxlIBxKHEFSXukX38e816WSScn+dwxbTI7YsYgQnIgRqc4RRywKuf7t JSpVK5+5nTpdBcO1+ZukQyAfsMVyNn7LhRT/Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687888599; x=1690480599; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BBM9HTbVE8IN9zkGnkp6xc3S5GpMqGP8gETPCnCzVXo=; b=bBfJOSplFs+oJ9VdcDufzcBxzQY/DHdppz++nvySNuN9ofL6+8+V2mbDsMxyRPMg7/ ZC7CRhfCLnfg4HRDHbCLl3n+PScjzKxc7lyrKcFeD1+T8VKDeDTEFkjsu4dpwLV0qa1V YdcrnJfsELXpwAGX0dv65Ppy3Nk94Z8D30xcJne177RH5xatf46u1z0z47R5bnorplru 8whAZjbOS2DKYZaMDH3kywiw0Td53sNZ5vPyuFIT38aAlOYJQyx8sZ/JtrD3HkAKBuSj Asb+KZ4LDymIM3GYqRGHufJ7KI2nAxby/XxXMfkfqpyYDlzzDjnZKmd7oZEf7UiBoXR2 2opA== X-Gm-Message-State: AC+VfDzRi/mFy1kmZq8hQpkbsTaEhv8T/ptFOV7Saa3uPxsIH+hMUzTQ f/F1pJQivFBoc9FqjboSiMU6u6FvI7QoTFRWGnX4W3Ce X-Received: by 2002:a05:6402:1006:b0:518:72f2:2969 with SMTP id c6-20020a056402100600b0051872f22969mr22352910edu.9.1687888599079; Tue, 27 Jun 2023 10:56:39 -0700 (PDT) Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com. [209.85.208.53]) by smtp.gmail.com with ESMTPSA id c4-20020aa7d604000000b0051a4a1abdbbsm4025304edr.49.2023.06.27.10.56.38 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Jun 2023 10:56:38 -0700 (PDT) Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-51d884a22e7so4652866a12.3 for ; Tue, 27 Jun 2023 10:56:38 -0700 (PDT) X-Received: by 2002:aa7:c257:0:b0:51c:ef63:380a with SMTP id y23-20020aa7c257000000b0051cef63380amr7719283edo.27.1687888598013; Tue, 27 Jun 2023 10:56:38 -0700 (PDT) MIME-Version: 1.0 References: <963d6eb8-6520-4c33-bbe8-6c76205bfd3d@paulmck-laptop> In-Reply-To: <963d6eb8-6520-4c33-bbe8-6c76205bfd3d@paulmck-laptop> From: Linus Torvalds Date: Tue, 27 Jun 2023 10:56:21 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] RCU changes for v6.5 To: paulmck@kernel.org, Zhu Yanjun , Jason Gunthorpe , Leon Romanovsky Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, mingo@kernel.org, tglx@linutronix.de, rcu@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 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? Anyway, I *did* fix it up, changing the 'kfree_rcu()' to 'kfree_rcu_mightsleep()', but no, this was not a merge artifact. This was purely "the RCU tree did not build on its own", and as a result the tree does not bisect cleanly if you have rdma enabled. Adding rdma people to the participants just to let them know that this happened, but it's not their fault. This is on the RCU tree, and lack of proper coverage testing. Linus