From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D22DFC46CA7 for ; Sat, 2 Dec 2023 23:52:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232661AbjLBXpH (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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