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 29DA8C4332F for ; Thu, 19 May 2022 15:02:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240305AbiESPC5 (ORCPT ); Thu, 19 May 2022 11:02:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240361AbiESPCn (ORCPT ); Thu, 19 May 2022 11:02:43 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6446C3C739 for ; Thu, 19 May 2022 08:00:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=2ablpVa++YpadMG5z08UnWMBCFJ/J7RIPdQIjewlPx0=; b=vKUuHYlm9JP9mXq1W5HmtJYPPZ yf0KLMXB7GvOBF6FQy/MJTdHx+P6GGGTCbSOlskeONe74qt/6jcq+Z/OooBg7tpaneTLe+c3tCX4z xXNeKlTmeAViYl/ZsYzz2WytxMwihND8ZVJTqPLsmU1Ef1byLLpBfBJDXwt1GzOUsf704By+/HfK9 V1cuPX+wR1Mok7bsTfqHRZquhmGUcae49Q4LZyHtP087g4Nqp1hn2nMAGPjsk3dmql56st3FnjkSx +Utioun4nhhqrpLo7tfDnuCkU7Hl37JQ4ti+QhIokdMN9wZ1NoHEyOvyb+yB1eKpLjzc4OBSJT0dE ZZxzBOZg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrhda-00CoRu-Me; Thu, 19 May 2022 15:00:26 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 3BB6B980BD3; Thu, 19 May 2022 17:00:26 +0200 (CEST) Date: Thu, 19 May 2022 17:00:26 +0200 From: Peter Zijlstra To: Frederic Weisbecker Cc: LKML , Phil Auld , Alex Belits , Nicolas Saenz Julienne , Xiongfeng Wang , Neeraj Upadhyay , Thomas Gleixner , Yu Liao , Boqun Feng , "Paul E . McKenney" , Marcelo Tosatti , Paul Gortmaker , Uladzislau Rezki , Joel Fernandes Subject: Re: [PATCH 03/21] rcu: Add a note about noinstr VS unsafe eqs functions Message-ID: <20220519150026.GK2578@worktop.programming.kicks-ass.net> References: <20220503100051.2799723-1-frederic@kernel.org> <20220503100051.2799723-4-frederic@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220503100051.2799723-4-frederic@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 03, 2022 at 12:00:33PM +0200, Frederic Weisbecker wrote: > @@ -895,6 +899,10 @@ static void noinstr rcu_eqs_exit(bool user) > * > * If you add or remove a call to rcu_idle_exit(), be sure to test with > * CONFIG_RCU_EQS_DEBUG=y. > + * > + * FIXME: This function should be noinstr but the below local_irq_save() is > + * unsafe because it involves illegal RCU uses through tracing and lockdep. > + * This must be fixed first. > */ > void rcu_idle_exit(void) > { Urgh, except this one... I'm sure I fixed that at some point. Clearly that never made it in :/