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 D698BC27C40 for ; Wed, 23 Aug 2023 21:42:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237967AbjHWVmP (ORCPT ); Wed, 23 Aug 2023 17:42:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238600AbjHWVl5 (ORCPT ); Wed, 23 Aug 2023 17:41:57 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A697510F1; Wed, 23 Aug 2023 14:41:52 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1692826911; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PK5b0ivuEa/PS4x9NzJ6KdYooqZ+f0W8WnndXaZS2Pg=; b=0sG4P5mw38zKQGTymLeRst1lf6lhNxBsE3iDIVkNr+37BtKsIfFQFM+CopGywwCD3xUQJ4 1PIv/plA79QOLO8n7mazzHjACREs6aQKFhnyjh8sLXl34RS00aBq0MlCF8re3fC9lDhTOp mC3XrB8xF7EThDVKic9Z/NaH235RYOHTAuV+RqHIz3ilmlsTXFsJuxR0t941n1L8arv+fA aPj2C0W189rQWyWYS1KL3wl4Fp8aWwbe1bt0y7543vJsJG819KxLac0gFDBBjcBi2YVqRU PsHsfSiA2pEj6YzKy8kikGbs4JrRKg1IMufIBLjx3n/n93XB67w9MKPW2Jikow== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1692826911; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PK5b0ivuEa/PS4x9NzJ6KdYooqZ+f0W8WnndXaZS2Pg=; b=d1l8+UuwBMa5UJJnhQuKOSVTgAefBI82ymLBTZhWjY1QwSv1QJfAy/qBxbL/niYnxwN6Iw dw6MFIaRJIqGUMBA== To: Alan Huang , Huacai Chen Cc: Z qiang , "Paul E . McKenney" , Huacai Chen , Frederic Weisbecker , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Ingo Molnar , John Stultz , Stephen Boyd , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Sergey Senozhatsky , rcu@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Binbin Zhou Subject: Re: [PATCH V4 2/2] rcu: Update jiffies in rcu_cpu_stall_reset() In-Reply-To: References: <20230814020045.51950-1-chenhuacai@loongson.cn> <20230814020045.51950-2-chenhuacai@loongson.cn> <18b9119c-cbc8-42a1-a313-9154d73c9841@paulmck-laptop> Date: Wed, 23 Aug 2023 23:41:50 +0200 Message-ID: <87wmxlcu75.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Wed, Aug 16 2023 at 23:56, Alan Huang wrote: >> If do_update_jiffies_64() cannot be used in NMI context, can we > > What about updating jiffies in dbg_touch_watchdogs or adding a wrapper which updates > both jiffies and jiffies_stall? What makes dbg_touch_watchdogs() any different? KGDB can pretty much have a breakpoint everywhere and therefore also within the jiffies lock held region. Thanks, tglx