Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1926143rdb; Sat, 2 Dec 2023 15:45:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZ4zDLYjPHzCSH9MvIrpn+3XxmWounHt0HWGvsogMJZzHw/lEAi3CciOrLH+qZF3odsupf X-Received: by 2002:a05:6a00:2194:b0:6cd:f69f:e3a3 with SMTP id h20-20020a056a00219400b006cdf69fe3a3mr1983810pfi.21.1701560739735; Sat, 02 Dec 2023 15:45:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701560739; cv=none; d=google.com; s=arc-20160816; b=PmRRhdl/WBoWX8uyZxGYUR3Z1wYAKjAihl+x/3HQRNY4OjN98UYGk0pxd4hWdsmC9S fE2aOdayJKg5UGPZTXLkH8PpoMN21AOFZ+JkzNbvDtHW+WUaD092QKRzf9hz51CWoDv4 gatUyIli6Tw4Ji2bLY/oIjPEUu85dac74nUpDvkG0Ua3DTtQwY85ZHZ5ySHGUoQcqwH4 aNdl8lAgOqUlxf1Ezck0o8SYdcyBhjuDrt89S9KurJf+8ea4AiVFfwKvoVGfVEJ+wigu tIiRycxAC2TWt3p6kqzZP4OJM2fW2xF8F0Cd1dFgn/+7ar8ifaXE2qlvzW2oOaGIYvqI jQFQ== 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=m5tEcPDZXJNZTd3xzhlDfXuEK1Ki5CHlqYD+ieDbZ/c=; fh=7piaXXqFrdylso55bRAOdaQ8fp0BNpZGnXG8XqKBgE8=; b=IpYUxYKPuQ9+52QkmZtWYzSkq9mJ4isD6Ma3B74FRytGdEsfXnIPhrUo9hczjGEq0N emvbhUUf7qygLUGpfUdNFbBMKGE/7wBZiDIkcz0JeslaGHPIglGOK0Pwd9mOzS22yiIM UWDFSP/IXnhSDteOvjf+uvvm9PuXEi7ixxgXlL2NbDcbXDWYDrIaffRg11xoFrQaZJyx gHi9R1KMVCFxsoSpKhkd3CU2zR4mDz37pTvFDH61iLIdZ6qzdpkuYKihWjpWLK+zNNd7 RX4Ja85WfXoMhpseDBWgunXltWW2kF8ZYi5T+AFfLQbz9j2pbd4DwpqXzy/L2ISwrBgu 5P0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id z20-20020a62d114000000b006ce36ffa533si1177219pfg.374.2023.12.02.15.45.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 15:45:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id EBC3E807BEC6; Sat, 2 Dec 2023 15:45:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232638AbjLBXpH (ORCPT + 99 others); Sat, 2 Dec 2023 18:45:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjLBXpG (ORCPT ); Sat, 2 Dec 2023 18:45:06 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BFFC107 for ; Sat, 2 Dec 2023 15:45:12 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FBA2C433C8; Sat, 2 Dec 2023 23:45:10 +0000 (UTC) Date: Sat, 2 Dec 2023 18:45:07 -0500 From: Steven Rostedt To: "Paul E. McKenney" Cc: LKML , rcu@vger.kernel.org, Frederic Weisbecker , Joel Fernandes , Mathieu Desnoyers Subject: Re: [RCU] rcu_tasks_trace_qs(): trc_reader_special.b.need_qs value incorrect likely()? Message-ID: <20231202184507.26178c17@rorschach.local.home> In-Reply-To: References: <20231201154932.468d088b@gandalf.local.home> 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=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 02 Dec 2023 15:45:30 -0800 (PST) On Sat, 2 Dec 2023 14:24:26 -0800 "Paul E. McKenney" wrote: > > Note, the unlikely tracing is running on my production server v6.6.3. > > > > The above trace is from my test box with latest Linus's tree. > > Nice tool!!! Thanks! It's only been in the kernel since 2008 ;-) 1f0d69a9fc815 ("tracing: profile likely and unlikely annotations") > > My kneejerk reaction is that that condition is suboptimal. Does the > (untested) patch below help things? I'll give it a try on Monday. Thanks, -- Steve