From patchwork Thu Oct 19 12:01:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frederic Weisbecker X-Patchwork-Id: 15616 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp330050vqb; Thu, 19 Oct 2023 05:02:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF6QbtfIPgFN3wVuoHgqkemOaCKltJv/pyaX90HEY2j1+/yf3N07660teP5EYFiYhKnMqbV X-Received: by 2002:a05:6a00:805:b0:6be:5367:211d with SMTP id m5-20020a056a00080500b006be5367211dmr1868265pfk.24.1697716958251; Thu, 19 Oct 2023 05:02:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697716958; cv=none; d=google.com; s=arc-20160816; b=sz5vBQuqhs+WAqDLcHtKKXIOpgtMieSLixFXBs0ONTssrsCiMlU+cZVA71tRgZYJB1 zVHztxDE+1HHI2K6HPlNP7vUIQRotlXAiBCOP2WjVkrghhMoJ8CAtwIJ+vAcGvusNzgv e8pFxU7otvnOog277waSBiDEaOSMGjDHfYkbRCm/TCU2nKHZFXVh0SLKTAWWf+IVDMPV WgUZ8trugRfi04ji/rI1KgoiubDmqhTctHqmlhE1BE27WM+PVH5/c7RNE4KGMkDcZbG3 KtoqgKK5RNHDigHRQjO2R4lmPydD9Mq00Ma3X1MO0pi/hrsUW88H/1gcswmKIz0AX7BA YWsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=wS9ZT6Klf2NuLMDXzSy/yWsPdmoxY8fHV5MJ1fXEJMU=; fh=lTKEK1Rt7LvnHRfa4w1cQ2RgMDufzBK6qxi+oKKQlPU=; b=AINv1LVQrgJZ8O3oVAmSQeVA2eCO1MfARDzkQHqLK3qEaDd7CVM7PLt3M0Xzju5LCA I/bAeXujaUb99EjM0LXxHBdXcVqkuDMf4QvYaAVEricNdtIeYhtZzfJ0Y4oBDwf1rgLx IsCavvp+9YSEt4W9KycDiKPe2s/KCjNgO2W6WvwZPpAPCR6/rpYOLDXojnCxqGvxx5Tc D/1jg9jLCL5kwZCeMcrqfIIBNiPynqpxLA4tjWyGGsSfbxWIrcIllVw1E8+V5UsKdn/S cH5vvoHL1tmaVAvyuq1Tic1RKsrfWg7a0kneTE5Ms7S8QNBYSrVP12i38DKUaIv5V3sm 6E0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="toHsj1C/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id k78-20020a628451000000b006bd2e896465si5989480pfd.199.2023.10.19.05.02.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 05:02:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="toHsj1C/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 58EFD822CE20; Thu, 19 Oct 2023 05:02:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345516AbjJSMCR (ORCPT + 25 others); Thu, 19 Oct 2023 08:02:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345523AbjJSMCL (ORCPT ); Thu, 19 Oct 2023 08:02:11 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0D7318D; Thu, 19 Oct 2023 05:02:09 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FABCC433C8; Thu, 19 Oct 2023 12:02:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697716929; bh=kcjx4YxAcQZb48f+2uZ3X8gmikqy2As6pSmOkQMDucE=; h=From:To:Cc:Subject:Date:From; b=toHsj1C/DSVPW8X+7tT+6QYuYKC/K+Ph7m5cgF8s0sdURqsVtvelUs0J2wQLAZfGq CpvviPL+5dqaU5xKiR3x6UBcrf4+WrFk3dpbLOxV4mfyvvWJ1ecM2CYrJDGapMBusK BwMn7v6vZvbO3j1Frp+qiLfGgCEasy4EQGrdKm/0dsNPngEOTrZ9nLxpC3zvjDypan rabC3xGdilb8DZ10vvYNVwkKa9mVcRvPVCs0+xE9infTn4EyDORq8wpS7ozC6zPnGN 8kjlaW2JJ/bu3nS2jEMwaw75ERXSbhHc3SmI9AQBfmeBOBZW53q2ymnxH6ID+8A0/Q pYLb+P6UEmeAw== From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Boqun Feng , Joel Fernandes , Josh Triplett , Mathieu Desnoyers , Neeraj Upadhyay , "Paul E . McKenney" , Steven Rostedt , Uladzislau Rezki , rcu Subject: [PATCH 0/6] RCU stall detection updates for v6.7 Date: Thu, 19 Oct 2023 14:01:56 +0200 Message-Id: <20231019120202.1216228-1-frederic@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 19 Oct 2023 05:02:20 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780185257364896732 X-GMAIL-MSGID: 1780185257364896732 Hello, Please find below the RCU stall detection updates for the next merge window: Joel Fernandes (Google) (1): rcu/tree: Defer setting of jiffies during stall reset Paul E. McKenney (2): rcu: Add RCU CPU stall notifier rcutorture: Add test of RCU CPU stall notifiers Zhen Lei (3): rcu: Delete a redundant check in rcu_check_gp_kthread_starvation() rcu: Don't redump the stalled CPU where RCU GP kthread last ran rcu: Eliminate check_cpu_stall() duplicate code Thanks, Frederic. include/linux/rcu_notifier.h | 32 +++++++++ kernel/rcu/rcu.h | 6 ++ kernel/rcu/rcutorture.c | 21 ++++++ kernel/rcu/tree.c | 12 ++++ kernel/rcu/tree.h | 4 ++ kernel/rcu/tree_exp.h | 6 +- kernel/rcu/tree_stall.h | 135 +++++++++++++++++++++++++---------- 7 files changed, 178 insertions(+), 38 deletions(-) create mode 100644 include/linux/rcu_notifier.h