Received: by 2002:a05:7412:3210:b0:e2:908c:2ebd with SMTP id eu16csp978115rdb; Fri, 1 Sep 2023 09:11:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFGJeXkdMqEHkSkSEw+W0AGGKt2aDuVT5zYkxyRCajNp+pR+eM+HOOi1D22lfmCnbHY3QBY X-Received: by 2002:aa7:da5a:0:b0:525:6ab3:dd22 with SMTP id w26-20020aa7da5a000000b005256ab3dd22mr2333721eds.38.1693584677942; Fri, 01 Sep 2023 09:11:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693584677; cv=none; d=google.com; s=arc-20160816; b=vOLNPpb1FXmbp5tU/27I+JTQKReZv+2mAGSMYrpNqyMCsJei1Vc3Kz0pGQelh9qx7D 6h2nzmtwrM+4/4C4NFjbG+K5tcLIvH9XU9MmT79ebUPgQ7+vJF3uS6g+pTqPv5IXr5bf XshafDi2k8XhrfLkihtxJBvzYOjJRNg/M05zdlPJX+SMCayDt/OJvBWBtw/LLsOUE2KE kFFW78d0G92Zrq6gNhhvUwH60VDMk/cK/cjC7DzbVCcJPGXpckVgphODIVr3DYBVQZnZ 3UKZO2947S+s4gPgr9Y5azRdbTBdoF5mo72AJuQtosVwLxKv//Ny672qVaGkx5V9n65z R49w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=Lf7LorLL65LXH+Hup0tfIaMJ7B5dxai344gmTlr18rQ=; fh=8Rk5t9XDb5PFY/yKACTy9a6ozJUJPVr6rpkpRLLVCLI=; b=gmWk9Rj8nFAWJ3+89QZZDDyLOcCmoYFMz7f3EQqPLnyQ2y6TGhblO3t3Sa9YVccPgV 8qF0DQuLf54ik+hduGo7hgdRcAzFcOWdpVETKhcmBZVs907DIFzSbVB/mS5PRorydy0C uEsbRpKoj051bZe6XNH3eTuy2vzZRywayp4wm1ZRANxemllSH8A8BNByfJcHQFBdRv8F qYgzQH8Y5JDrV0/KdhXU0UXiN1RswQ5foGWD3otSqQdkMa+IyMQtGNOhnMGgAm4PdpkW Xns8s/fH7NMlnzjO4xs690bUpt2MTJqSVKVbazMPTdPsEtVIJD+DZcGtS3Q14dgznT+T zVNA== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u24-20020a05640207d800b0052a3cc1bbb0si2720764edy.445.2023.09.01.09.10.23; Fri, 01 Sep 2023 09:11:17 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245303AbjIABeY (ORCPT + 99 others); Thu, 31 Aug 2023 21:34:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230061AbjIABeX (ORCPT ); Thu, 31 Aug 2023 21:34:23 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C21BE6E; Thu, 31 Aug 2023 18:34:19 -0700 (PDT) Received: from dggpeml500012.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4RcLBD1P2Xz1L9Gb; Fri, 1 Sep 2023 09:32:36 +0800 (CST) Received: from [10.67.110.218] (10.67.110.218) by dggpeml500012.china.huawei.com (7.185.36.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Fri, 1 Sep 2023 09:34:16 +0800 Message-ID: <27b90c36-7552-6e6c-4109-3220c90ce83e@huawei.com> Date: Fri, 1 Sep 2023 09:34:16 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH] tracing: zero the pipe cpumask on alloc to avoid spurious -EBUSY Content-Language: en-US To: Steven Rostedt CC: Brian Foster , , References: <20230831125500.986862-1-bfoster@redhat.com> <26f8fb43-6ea8-edc2-381d-3600fce261af@huawei.com> <20230831163331.6c90c963@rorschach.local.home> From: Zheng Yejian In-Reply-To: <20230831163331.6c90c963@rorschach.local.home> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.110.218] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpeml500012.china.huawei.com (7.185.36.15) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,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 2023/9/1 04:33, Steven Rostedt wrote: > 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? Of course :) Reviewed-by: Zheng Yejian -- Thanks, Zheng Yejian > >> >>> >>> Please CC on replies as I'm not subscribed to the list. Thanks. > > That's the default with Linux kernel lists. > > -- Steve >