Received: by 2002:a05:7412:3210:b0:e2:908c:2ebd with SMTP id eu16csp529840rdb; Thu, 31 Aug 2023 17:26:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEfiba9PR5Uqgz6dLgmLUDMCrWOYIeFdwLbJI3NqcIqJydUfMPdaU5XqzvP2OJ/fUAeRJJN X-Received: by 2002:a17:907:1de9:b0:9a1:d087:e0bf with SMTP id og41-20020a1709071de900b009a1d087e0bfmr565667ejc.43.1693528003385; Thu, 31 Aug 2023 17:26:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693528003; cv=none; d=google.com; s=arc-20160816; b=FsZiIL+rnQ3QCVEOPpunIwlefkRYMeCvBAezQn/FRrWhh2lsG0s8+UdoNyg/dmf+5b B6Rrz730DC7XlEmoDChygQIAYxlD9KKAasP5UwFmSjhQBpUIuEjG3ytMNfl7LAdGEZTn JFhmny4f1uD4VrW9jWLwj8csnBIP/fx1cvnHQK7+Nnudf6BxgrDSmKM9MbWQlveqw4Ow 3v7oseAhPFp0JjI3PJiA7WY3so5oYUgX7+J1IiwJ1QEs8yyxQPwE3Z25RKMVroZhoewN +ELbXdsJXstDJDDtZ0kILZwV+O+V5bZgJp/ey2EW/vUPABJACNbr196xRpGt+GfSSXz+ DHMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=J4QKOLSHhoIsIYTAuxAJYUYOK+OURudtHpkuj/wyDvI=; fh=CQNYWZMyWNUfJUxfQFmQwvRkqfLLZNed9t2rCj7jTB8=; b=tf1H97jhnAOwFTzGTFpHyLwu8Xb10H5R10CsGfTaHD/q0+NElS7avdP8TX4FilAhhx 2QHsorWWZLt9UuA3nyrttb5HfpbT19kQ79WhUeKA+MsDHrgqZOBI27rRmFtYRgF8JrWv 4voILksnVTAsO65btingrEhO2j5N/DsCkDYq7rlKn0YkPSC9CWxAFaMp8q3kP2rQLQ7B GFLp/Fx+oSvl1RmSgRdzShQh6bCwpz2P0Eip7ihmctgXzrDjjz/+uBYVn/z9GjYZVuOm b9mlBYIOt5FU78pUF2VFYBjk/oncmml+2a7D/GCAFWqpEQIJz/x8+FFVnxcMINXBRRvg r9vw== ARC-Authentication-Results: i=1; mx.google.com; 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 a7-20020a17090680c700b0099233867740si1752126ejx.144.2023.08.31.17.26.04; Thu, 31 Aug 2023 17:26:43 -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; 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 S1345912AbjHaUdr (ORCPT + 99 others); Thu, 31 Aug 2023 16:33:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237897AbjHaUdq (ORCPT ); Thu, 31 Aug 2023 16:33:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB9CEE79; Thu, 31 Aug 2023 13:33:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5EE5D629BA; Thu, 31 Aug 2023 20:33:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 58782C433C7; Thu, 31 Aug 2023 20:33:33 +0000 (UTC) Date: Thu, 31 Aug 2023 16:33:31 -0400 From: Steven Rostedt To: Zheng Yejian Cc: Brian Foster , , Subject: Re: [PATCH] tracing: zero the pipe cpumask on alloc to avoid spurious -EBUSY Message-ID: <20230831163331.6c90c963@rorschach.local.home> In-Reply-To: <26f8fb43-6ea8-edc2-381d-3600fce261af@huawei.com> References: <20230831125500.986862-1-bfoster@redhat.com> <26f8fb43-6ea8-edc2-381d-3600fce261af@huawei.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS 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 Thu, 31 Aug 2023 21:51:18 +0800 Zheng Yejian wrote: > > Hi, > > > > I ran into this problem just recently on one of my test VMs immediately > > after updating to a v6.5 base. A revert of the aforementioned commit > > addressed the problem. I'm not terribly familiar with the tracing code, > > but on further inspection I noticed the cpumask doesn't appear to be > > initialized anywhere. I suppose this could alternatively do a > > cpumask_clear() or whatever after allocation, but either way this > > addresses the problem for me. > > Yes, pipe_cpumask must be initialized. Can I add a Reviewed-by tag from you? > > > > > Please CC on replies as I'm not subscribed to the list. Thanks. That's the default with Linux kernel lists. -- Steve