Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp168101rwl; Wed, 4 Jan 2023 17:09:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXukPw1R/J4bsptcytUJ9YMg1jCwh0MkRgnPb4RUwqcY0ftKsW2pK3k8FIuqan7S6Iq9C6lu X-Received: by 2002:a17:902:8543:b0:192:9454:7b32 with SMTP id d3-20020a170902854300b0019294547b32mr27190090plo.40.1672880955215; Wed, 04 Jan 2023 17:09:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672880955; cv=none; d=google.com; s=arc-20160816; b=JZmo4kU/woMeLMTS6hEHLLCJ0nrZd1Y70P6r2O/7YzCtvRpm86B/EU6BMFa7AxtV4z 2GYB/vwXdusDXGk+Noji/VgI1MkbvY6LD1fDqamSfDiuxSvMNuilS3N2tyGHKCqS31YA tVWAi0Vt1DW/nizh5b3l4gBHVBf//p619fkz00Dvh0Vz/xgbI2PmaSE0X+eWA83fC4lY d/uJ+qF+dfymT6ZjmZwjVvmi4/1ZdEKJFgmHIk0mFQfVr1V3KHvFJcnUJGvzs47Rjhze NoqQKvW8OJeGBgkJGyrSU/DwDdMdk5eCER0umhmiRSoinNuxsFXimr9APvQFWon+mzj5 Uxbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=uT+7Fg06h6x7Dp8fWpzM0oORWYGAGhytiBrM9ybke14=; b=wkvlMwkKcjwcaZOKxpCzPiVEVQKoNUoz6SNZNIvinvwV98GmiS2tcbi/RnI4oWgsTe XfqDv+QccJZwm+gL2mK286Bu9kONPcgZhEAJ4c1N2fQwP8IZbFnAqUzW6hw7nYUJ9DUi zuRJYYXUUYElameVLgPRMKdAEAyzyhr9i7tpchI8lNgGLpiZtgc2xOMX0Z6lfu9pH2ap RX720iifimzfGkwv11nuA+N1mGrHiWFqR07F+/WhIpcu5WHfSuq7HwFz5yP6DJYpb2aQ 9d32KrQ8i2Wnoxvqr1UhJh2cd61HSuAlYeax0mhrHNxRqwMq1LLRe2dhZOFl0d/tTWT4 TmMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iX6ueXCr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r8-20020a170902be0800b00189d1d721c4si32927565pls.584.2023.01.04.17.09.07; Wed, 04 Jan 2023 17:09:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iX6ueXCr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229554AbjAEAyb (ORCPT + 56 others); Wed, 4 Jan 2023 19:54:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230260AbjAEAxk (ORCPT ); Wed, 4 Jan 2023 19:53:40 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1100A50F66; Wed, 4 Jan 2023 16:50:05 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 83BB1B81986; Thu, 5 Jan 2023 00:44:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34CC0C433F0; Thu, 5 Jan 2023 00:44:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879495; bh=JpJUIfKj2grmhASneCvm4eoguqoWrw7JCeey0tMxfOI=; h=Date:From:To:Cc:Subject:Reply-To:From; b=iX6ueXCrM2bNMyjTcgpS52x4ATQqWLIkzqo5g/DVioAbfTB6T3kKArlOsxGew1Q3F BhCjgunWbupeqEk4v943C1gYoYcTmKSuB+xNaczshH+Bqp3g7vuWdMCVvoJY6ytelV UGmMJhFTQO98UaflEJ/PTXjrKeZh1arQTdjPpGIcczqb6m42gFp87v0Ib2/hMfPMlx HCKNtq4DXolyBFr/1qnqyYl4UQLgYL6G4Jc4m5jgLdbkcbKpt5yHHyA4mUOomID4Oa PK4U7neecoPc7irjhOTyvkVmpWJ0vjUWms9GtubIxe4bfIJuKBAz5eCuWegjUkmhrl fRZruENvWszxA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D3F875C05CA; Wed, 4 Jan 2023 16:44:54 -0800 (PST) Date: Wed, 4 Jan 2023 16:44:54 -0800 From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org Subject: [PATCH rcu 0/7] Torture-test updates for v6.3 Message-ID: <20230105004454.GA1771168@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Hello! This series provides torture-testing updates: 1. rcu-tasks: Use accurate runstart time for RCU Tasks boot-time testing, courtesy of Zqiang. 2. Seed torture_random_state on CPU. 3. rcu-tasks: Improve comments explaining tasks_rcu_exit_srcu purpose, courtesy of Frederic Weisbecker. 4. Provide for initialization failure. 5. rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() calls, courtesy of Frederic Weisbecker. 6. Add tests using SLAB_TYPESAFE_BY_RCU. 7. Allow non-rtmutex lock types to be boosted, courtesy of "Joel Fernandes (Google)". 8. rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes(), courtesy of Frederic Weisbecker. 9. Make the rt_boost factor a tunable, courtesy of "Joel Fernandes (Google)". 10. rcu-tasks: Make rude RCU-Tasks work well with CPU hotplug, courtesy of Zqiang. 11. rcu-tasks: Handle queue-shrink/callback-enqueue race condition, courtesy of Zqiang. 12. Drop sparse lock-acquisition annotations. 13. Fix hang during kthread shutdown phase, courtesy of "Joel Fernandes (Google)". Thanx, Paul ------------------------------------------------------------------------ b/include/linux/rcupdate.h | 2 b/kernel/locking/locktorture.c | 99 +++++++++-------- b/kernel/pid_namespace.c | 17 ++ b/kernel/rcu/rcutorture.c | 12 +- b/kernel/rcu/refscale.c | 16 +- b/kernel/rcu/tasks.h | 8 - b/kernel/torture.c | 2 kernel/locking/locktorture.c | 12 +- kernel/rcu/refscale.c | 236 +++++++++++++++++++++++++++++++++++++++++ kernel/rcu/tasks.h | 77 +++++++++---- kernel/torture.c | 2 11 files changed, 393 insertions(+), 90 deletions(-)