Message ID | 20230315194349.10798-8-joel@joelfernandes.org (mailing list archive) |
---|---|
State | Accepted |
Commit | b2753a12f461e5eff09983b0198f53b807a67abd |
Headers | show
Return-Path: <rcu-owner@vger.kernel.org> 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 A96F0C7619A for <rcu@archiver.kernel.org>; Wed, 15 Mar 2023 19:45:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232132AbjCOTpM (ORCPT <rfc822;rcu@archiver.kernel.org>); Wed, 15 Mar 2023 15:45:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232727AbjCOTor (ORCPT <rfc822;rcu@vger.kernel.org>); Wed, 15 Mar 2023 15:44:47 -0400 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E78EB6B95E for <rcu@vger.kernel.org>; Wed, 15 Mar 2023 12:44:37 -0700 (PDT) Received: by mail-qt1-x835.google.com with SMTP id h19so1348516qtn.1 for <rcu@vger.kernel.org>; Wed, 15 Mar 2023 12:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; t=1678909477; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kmL3NaGdkJr0Bc+bh875hISga550hRk4RtUTBtwwn0w=; b=bnBx2KLF4/8ayT1hsKRH/YELY31dEXlopSuwsSIBqqg+vaXM/EzMzHk3VEelU5122J jwQb+81WA0fyC2BsjfFRu6dch564OgwoXcO8sX+yjQIZbugkKoJ2HG34dTE3ocYhrCar 8S/A3URcPENhyHM0kLeY152ccpK6HGiSkJAnw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678909477; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kmL3NaGdkJr0Bc+bh875hISga550hRk4RtUTBtwwn0w=; b=NqkvVoR/GilSa+4IzRJ6/7bGHbccm5ud3/ZsPCFlsY2ZxtD0zSEV9ae7/O9AT6xV2C vEkOEp1i03prw+kQJjS8likWL4uZpBDHjcDOuR9TLMRl20s7xb2kn5EBE0KM5fCYhPzP xYtHdSDlaEJgNgBOCYoMLsmk8/bSGfZ0DPsdz5Ha4QcmXVD1WzjtAAnfeRQ861rcEb+q 8bjgIkq/vA3iauZke17PUX9uPWM4BR1StCpoOgTFt1DuHqLs8BZ7DL6l6vwsdhvwjC0I vtxZWyOULL64W6VxFxekP13Gc+02n70lh3JfTcij7shNsRa3chxN1cmD0f0rtutBxCJG 3k0w== X-Gm-Message-State: AO0yUKUIY5Z7y3xwLqAsZisdx1hio5wQPQzJker/SpkHojAyZmXTT6z6 EVqBTCqpPvIHJrp4ymXbo/ZcxQ== X-Google-Smtp-Source: AK7set/ClKfiibjlVpcqax3G+t0GuqIKsox+SDD/jjB1WY+e+c9YqxkMfF3ISk2g3yWXShpXuSq1zg== X-Received: by 2002:ac8:5989:0:b0:3bf:c5a7:595f with SMTP id e9-20020ac85989000000b003bfc5a7595fmr1903191qte.21.1678909476912; Wed, 15 Mar 2023 12:44:36 -0700 (PDT) Received: from joelboxx.c.googlers.com.com (129.239.188.35.bc.googleusercontent.com. [35.188.239.129]) by smtp.gmail.com with ESMTPSA id c15-20020ac8660f000000b003b86b088755sm4346666qtp.15.2023.03.15.12.44.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 12:44:36 -0700 (PDT) From: "Joel Fernandes (Google)" <joel@joelfernandes.org> To: linux-kernel@vger.kernel.org, "Paul E. McKenney" <paulmck@kernel.org>, Frederic Weisbecker <frederic@kernel.org>, Neeraj Upadhyay <quic_neeraju@quicinc.com>, Josh Triplett <josh@joshtriplett.org>, Steven Rostedt <rostedt@goodmis.org>, Mathieu Desnoyers <mathieu.desnoyers@efficios.com>, Lai Jiangshan <jiangshanlai@gmail.com>, Joel Fernandes <joel@joelfernandes.org>, Ingo Molnar <mingo@kernel.org>, Thomas Gleixner <tglx@linutronix.de> Cc: Zheng Yejian <zhengyejian1@huawei.com>, stable@vger.kernel.org, rcu@vger.kernel.org Subject: [PATCH 8/9] rcu: Avoid stack overflow due to __rcu_irq_enter_check_tick() being kprobe-ed Date: Wed, 15 Mar 2023 19:43:48 +0000 Message-Id: <20230315194349.10798-8-joel@joelfernandes.org> X-Mailer: git-send-email 2.40.0.rc1.284.g88254d51c5-goog In-Reply-To: <20230315194349.10798-1-joel@joelfernandes.org> References: <20230315194349.10798-1-joel@joelfernandes.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <rcu.vger.kernel.org> X-Mailing-List: rcu@vger.kernel.org |
Series |
[1/9] rcu: Fix set/clear TICK_DEP_BIT_RCU_EXP bitmask race
|
expand
|
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 90d54571126a..ee27a03d7576 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -640,6 +640,7 @@ void __rcu_irq_enter_check_tick(void) } raw_spin_unlock_rcu_node(rdp->mynode); } +NOKPROBE_SYMBOL(__rcu_irq_enter_check_tick); #endif /* CONFIG_NO_HZ_FULL */ /*