Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp77557rdg; Tue, 10 Oct 2023 05:00:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtx+fupeOe9xTNLuAI8SNfK4YhxTXyEhu4SBhwTxv64QcuOoycn6Pj3OY9sweeyxvVEz4G X-Received: by 2002:a05:6870:d189:b0:1d6:5dd2:d0a2 with SMTP id a9-20020a056870d18900b001d65dd2d0a2mr21518762oac.30.1696939203389; Tue, 10 Oct 2023 05:00:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696939203; cv=none; d=google.com; s=arc-20160816; b=Odi20LxNlc+seo9Kmn42n4yKzq+DHaMdX2SzTUeAq0GDw83xr+m3e/dVapiwxr2JEU cj9LzbMv7xblMYlnGVN1dCHdpPAVM2x/uKrkiM9xoJ3Lir/cZ/vm/gIPwsHAgnJ5wwAu dbID7rhqjQobK5HDowzO6y3QUTzbimhiz44qHCl/8SE3MqntrS3nmMlJHCumSRG40bT6 S+Nv0sDI7RQ0xpRHgxhK1VDxE82bszu4WpmXAIkr5bpEexsgdjvH5JvV2gxqgmaNdT5a QJvoQJ/8IZRg2EFXJYVotO3z/PEBqbauu6jzQ1CaFRZRlvjJSAHWO1sfUqsPYJ0LgA5j PfEA== 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=TxuCVpZm1WSK/FHO9Aq3oKBbbDzmv8unKyycVjmzhpk=; fh=lTKEK1Rt7LvnHRfa4w1cQ2RgMDufzBK6qxi+oKKQlPU=; b=B+YLSxL/RQeERUMS2jAd5lfMqaBt9n5FgZ3xIKqYGtByQYmzj+oVVnStxzFkT7zX7Y x6vrnLbPvwfiMNCD4FPiDB7TcXUPi1JveQLGgEKfjhWHW6qBBXN11qyIzpr/e9OnE9kS PgEYa1/h568EUcJCbCmo63SzXWo8OJHL8XUM08qMlkJIkTI/kCc8Hz6w9sKigVCQq+C8 C/biGRkS0Bsn8vVmvlEg1WDcrKM9LdnZ7fGUGvpK7nM0gmOmuwddU31aTn0sLIjdwOpV 5k26N7U+Jai6p6GP2iv/ZLaMwaWxemgs4u+BOxCGmzomleAjNuhIwuTJxeosRgq+rrUr Wqcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="jgR/fImU"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id p26-20020a056a0026da00b006930471d220si8817465pfw.397.2023.10.10.05.00.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 05:00:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="jgR/fImU"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 0716A83700F2; Tue, 10 Oct 2023 04:59:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231548AbjJJL7i (ORCPT + 99 others); Tue, 10 Oct 2023 07:59:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231531AbjJJL7g (ORCPT ); Tue, 10 Oct 2023 07:59:36 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4FFDA4; Tue, 10 Oct 2023 04:59:34 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06633C433C7; Tue, 10 Oct 2023 11:59:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696939174; bh=sYHoqOrEbMAZaMKLim6NthKBNfLinTYcsgpfSBhdkxM=; h=From:To:Cc:Subject:Date:From; b=jgR/fImUTS/Qe+BQe0gYv9Lw0tdrGJlGdSzjQ/wgglQTvzOFc93kL8P3N6OtwQTaK 0yaKbHJ2SZBF/3rQLkx4DA2DRBimzK7ie37+FpkoVTrMRwLO9e/atoZhO/VQEY9bJ+ cxcJg3vZvBaWVStX86GF2MYeudtN3dDAc0HXbappYmIvw1ubhq7SR9p2pq0sSWaPx8 e2YUP00HPzTRoenkh4fHsUqZx5v4eFpVsa6PgBy55JVlq8KBeCsSErmSZ2qvbFYQDg q9Rgav7OxDRCK9ryVrbIio0OYmVO/S3FPtsw4UJWvDrfUC17W6pyGdD9NLVKL0DsJO yodlUic09q0IQ== 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 00/23] RCU/lock torture updates for v6.7 Date: Tue, 10 Oct 2023 13:58:58 +0200 Message-Id: <20231010115921.988766-1-frederic@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Tue, 10 Oct 2023 04:59:55 -0700 (PDT) X-Spam-Level: ** Hello, Please find below the updates for RCU torture, locktorture and the generic torture infrastructure. Arnd Bergmann (1): rcu: Include torture_sched_setaffinity() declaration Dan Carpenter (1): locktorture: Check the correct variable for allocation failure Joel Fernandes (Google) (3): rcutorture: Fix stuttering races and other issues rcutorture: Copy out ftrace into its own console file rcutorture: Replace schedule_timeout*() 1-jiffy waits with HZ/20 Paul E. McKenney (17): torture: Share torture_random_state with torture_shuffle_tasks() torture: Make kvm-recheck.sh use mktemp torture: Make torture_hrtimeout_ns() take an hrtimer mode parameter torture: Move rcutorture_sched_setaffinity() out of rcutorture locktorture: Add readers_bind and writers_bind module parameters rcutorture: Add CONFIG_DEBUG_OBJECTS to RCU Tasks testing locktorture: Alphabetize torture_param() entries locktorture: Consolidate "if" statements in lock_torture_writer() locktorture: Add acq_writer_lim to complain about long acquistion times torture: Print out torture module parameters torture: Make torture.sh refscale testing qualify verbose_batched locktorture: Add new module parameters to lock_torture_print_module_parms() locktorture: Add call_rcu_chains module parameter doc: Catch-up update for locktorture module parameters locktorture: Rename readers_bind/writers_bind to bind_readers/bind_writers torture: Add kvm.sh --debug-info argument torture: Convert parse-console.sh to mktemp Zqiang (1): rcutorture: Traverse possible cpu to set maxcpu in rcu_nocb_toggle() Thanks, Frederic. .../admin-guide/kernel-parameters.txt | 57 ++++- include/linux/torture.h | 8 +- kernel/locking/locktorture.c | 216 +++++++++++++----- kernel/rcu/rcu.h | 4 - kernel/rcu/rcutorture.c | 16 +- kernel/rcu/update.c | 9 +- kernel/torture.c | 75 +++--- .../selftests/rcutorture/bin/functions.sh | 29 +++ .../selftests/rcutorture/bin/kvm-recheck.sh | 2 +- tools/testing/selftests/rcutorture/bin/kvm.sh | 17 +- .../selftests/rcutorture/bin/parse-console.sh | 9 +- .../selftests/rcutorture/bin/torture.sh | 2 +- .../selftests/rcutorture/configs/rcu/TRACE02 | 1 + 13 files changed, 322 insertions(+), 123 deletions(-) mode change 100644 => 100755 tools/testing/selftests/rcutorture/bin/functions.sh -- 2.34.1