Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp78793rdg; Tue, 10 Oct 2023 05:01:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHdFKGv4H4o+2O2zjciXi33OBepsXcf+GxgB+pDdbSa6Y3AbqYgSyVoIaeFw2H/WrDn3f+8 X-Received: by 2002:a05:6358:785:b0:13a:2b5c:84b4 with SMTP id n5-20020a056358078500b0013a2b5c84b4mr12968665rwj.4.1696939289916; Tue, 10 Oct 2023 05:01:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696939289; cv=none; d=google.com; s=arc-20160816; b=BLFBD29jMIeRY5Z/8Acdz5D6u+JRtsLr6rek8k/OAkdoewIW8GCZ4q8y1HYKRHM9lH w6qwMHhbdrSY0zGhHML0oCkSpFOOA8FoDrmn4oNhpnuh2gH0fj5PpuzrKSRgKv8+96RQ MoMVsROoV+G7o6EFCC0XJ4vuVOKK2XjlDzaA5+FfnFXZV3i3kmlNJGJymWgKGLhcfwNM LywXILtphGVzuHULmWRJefnqLuTUAW2Z4kxFcfql5g7MEcAQq9/2Mao4P2dY5bAZfNLH TPsN7bSmBmqXpDnI6e8YsQqHSvzGK62uyZ7VedAUx/bi9HaThrA1oGXIDevp1cQd3Q8t /5TA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lfP52Oy7Si1IHagO6hCmyTWXi8ZjZQSfrT8bVHa0XZU=; fh=9o1vzmbQvXEiiOZAoGEKGHmVR4Ieb6r+octdNZgYFWA=; b=UaovKmkZgvC6zp6me0PaNXAuYkFF+AqU6WHKCThI3rs+yfHOcH6kNmQDf1uQWEu1WZ Ek3wX5SwDtf6g76AqMeQeu+XGgF3D0KGtPm578UTdRDOkGPFUDZvbV0mG8k/z1nX3w2r yWeOtwYUElDhssIyvZ+t/Ux5gBpzoEVd3+IT+Jf3CeN+nTqivDm0Onbw090KP60tXcR6 x6139+AzYaOPn1Bikyf1K5pJqootSHoTWkN4GJ4vIeJBAGJ0F7QdEIYF6LBrF/UqrdS+ A6dIY91AquVmZfHnvo/3ayKl4pN3Pirykp7aBQSrQmGTlgMtlLHCFbiMYQWvDFARXrPM Shsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sK6DBDEV; 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 Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z19-20020a63e113000000b00584b2a790absi11847931pgh.821.2023.10.10.05.01.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 05:01:29 -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=sK6DBDEV; 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 5112480FA9CF; Tue, 10 Oct 2023 05:00:42 -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 S231698AbjJJMAf (ORCPT + 99 others); Tue, 10 Oct 2023 08:00:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231761AbjJJMAI (ORCPT ); Tue, 10 Oct 2023 08:00:08 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FBBFFE; Tue, 10 Oct 2023 05:00:00 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50140C433CB; Tue, 10 Oct 2023 11:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696939199; bh=FNbwODmxQo3GGwEsJGLAfDuk3+x/AsZx/VjeIBG8CLg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sK6DBDEVVhoqBkJgXSl3qNZo8EM8D6CcrGeHQ2X9GCDvOcEs4adIYpAKzQfKBjt+r dvVxr90w/XTErnjE8nxOIYby/Niy5k9z2Fanlc7ZH0yjJ1l4Z3wV+mYcAenu8Qjl7E TVovnSyrtaplpTAIWhVCRx9BwiiRu97x973I2lbgsVUsl99XNH73hrpMRYYrEkgGZY WgBVeP58vtD6Xy3DRlNBWNKS8UnAcGdwAU4JkB//mVWxbxKufsN/rQlRBoLj09xpd9 VKsGKRHBRfBDLOXI/x6zY1/4MLSiC4bSpPrlihFzU1LNG+1uWgAX/Jpi07pck7dEqT UfAdLRI0aFRIA== From: Frederic Weisbecker To: LKML Cc: "Paul E. McKenney" , Boqun Feng , Joel Fernandes , Josh Triplett , Mathieu Desnoyers , Neeraj Upadhyay , Steven Rostedt , Uladzislau Rezki , rcu , Frederic Weisbecker Subject: [PATCH 09/23] locktorture: Alphabetize torture_param() entries Date: Tue, 10 Oct 2023 13:59:07 +0200 Message-Id: <20231010115921.988766-10-frederic@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231010115921.988766-1-frederic@kernel.org> References: <20231010115921.988766-1-frederic@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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]); Tue, 10 Oct 2023 05:00:42 -0700 (PDT) From: "Paul E. McKenney" There are getting to be too many module parameters for a random list to be comfortable, so this commit alphabetizes the list. Strictly code motion. Signed-off-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker --- kernel/locking/locktorture.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c index 441866259278..57ee16cf879d 100644 --- a/kernel/locking/locktorture.c +++ b/kernel/locking/locktorture.c @@ -33,21 +33,21 @@ MODULE_LICENSE("GPL"); MODULE_AUTHOR("Paul E. McKenney "); -torture_param(int, nwriters_stress, -1, "Number of write-locking stress-test threads"); -torture_param(int, nreaders_stress, -1, "Number of read-locking stress-test threads"); torture_param(int, long_hold, 100, "Do occasional long hold of lock (ms), 0=disable"); +torture_param(int, nested_locks, 0, "Number of nested locks (max = 8)"); +torture_param(int, nreaders_stress, -1, "Number of read-locking stress-test threads"); +torture_param(int, nwriters_stress, -1, "Number of write-locking stress-test threads"); torture_param(int, onoff_holdoff, 0, "Time after boot before CPU hotplugs (s)"); torture_param(int, onoff_interval, 0, "Time between CPU hotplugs (s), 0=disable"); +torture_param(int, rt_boost, 2, + "Do periodic rt-boost. 0=Disable, 1=Only for rt_mutex, 2=For all lock types."); +torture_param(int, rt_boost_factor, 50, "A factor determining how often rt-boost happens."); torture_param(int, shuffle_interval, 3, "Number of jiffies between shuffles, 0=disable"); torture_param(int, shutdown_secs, 0, "Shutdown time (j), <= zero to disable."); torture_param(int, stat_interval, 60, "Number of seconds between stats printk()s"); torture_param(int, stutter, 5, "Number of jiffies to run/halt test, 0=disable"); -torture_param(int, rt_boost, 2, - "Do periodic rt-boost. 0=Disable, 1=Only for rt_mutex, 2=For all lock types."); -torture_param(int, rt_boost_factor, 50, "A factor determining how often rt-boost happens."); torture_param(int, writer_fifo, 0, "Run writers at sched_set_fifo() priority"); torture_param(int, verbose, 1, "Enable verbose debugging printk()s"); -torture_param(int, nested_locks, 0, "Number of nested locks (max = 8)"); /* Going much higher trips "BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!" errors */ #define MAX_NESTED_LOCKS 8 -- 2.34.1