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 CC055C433EF for ; Thu, 19 May 2022 14:55:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239996AbiESOze (ORCPT ); Thu, 19 May 2022 10:55:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237990AbiESOzc (ORCPT ); Thu, 19 May 2022 10:55:32 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A10B168F8B for ; Thu, 19 May 2022 07:55:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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=K+QWhK78QBcLRRiCnqIjpYMHBMNGZiNFeL6B8gl4Ucc=; b=VviOT3CWDXXJySlRXaB2eSY826 BByz3UfoxRFBV18NAMS/pC4w0oyEFzp/mzKynePXhLKZcvoDdH9bECM0CEKQ/vLNrdx71rnGIYaEz dZg83w7MEHWsFMngnu6fYc9X30+UVFc8H87IkGykhuS7RkB9EzAPg01ESPxGYlNrM3pZ0YuoE0JKh F32KGm/8vSjc4xvo4u95evrvdTyxk+vE387Rjils4uRwgom0iSgjmM6xdA04m8IMDtLzSXoYKUER1 bLLHmKT1lmy9bS3ZoXHjRZt+f8EV92ftCvleL2FlrXkV8Bs8uQCuvKUzeUyTAVNHryJXIqlSPDN6w CKS/5yTg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrhY1-0023X3-6f; Thu, 19 May 2022 14:54:41 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 0F991980BD3; Thu, 19 May 2022 16:54:39 +0200 (CEST) Date: Thu, 19 May 2022 16:54:38 +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: <20220519145438.GJ2578@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: > Some RCU functions enter or exit into/from RCU idle mode while using > trace-able and lockdep-aware IRQs (un-)masking. This could be easily > solved with using raw versions of local_irq_*() but we would then > lose some precious debugging informations. > > Another possible way to solve this may consist in using rude RCU-tasks > in lockdep and irqsoff tracing. > > In any case and until this get solved, those RCU functions can't get > tagged as noinstr even though they should. FWIW, this also means RCU_NONIDLE() is broken. Luckily there aren't many users left.