Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp13699rwb; Tue, 13 Dec 2022 13:19:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf5fg5elRbxgYddLjhZ4n2pwd6GWcbg4uSGhjyH2HLEWoK3ui07Fv/gaV7WXLVBrEktvFclw X-Received: by 2002:a05:6402:1607:b0:46c:72fb:3810 with SMTP id f7-20020a056402160700b0046c72fb3810mr25247360edv.41.1670966376381; Tue, 13 Dec 2022 13:19:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670966376; cv=none; d=google.com; s=arc-20160816; b=OmKJgggTT1I2TCPhquNIdH1+f0NxuVXIn51fBH9nK33QTghIGGVNI0h2mdIuk/2oj6 Whu7m4zStqJLnQTcZRiwn0djioOxYJUZ8QtUI9FeQKDxQv5GC39cyPKUg2rB4PJv25NK gRrkK4F+ZGGzQkCGIhNaXs5J/bU64HqIxKrHPSuBMT/QjwCmdtXVe02zbJmfm0fN6hRU /x19Cv4xJpdyhO/p6YFJxCKGvS3tzJKHio1C7p9n+xEWW1Zn6LBLLUXmkQ1P3vVEUcq+ EsqlTyS8G5N9Lg/cipvNvrFr7larZfwr1n1N/MYuNJAAQoqwuiVlDBvrbpfuQWwEEmJC /8uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=xtopGNdAVUpvCsyIX1KgtU4sqTtYdCSzIci1F+/mf5I=; b=CdVauZpQObAoHdBQmjGKKoZUwE4HzcG98Ea8mQTJUHc5UKE6H2D5TEpDRYzFmtSUYk YE9HcSdl0DwEOW1T2/kXarbwsE9mrytaxz4HNAxh698+qHqfQ8CaQnaOHyYTcQlOHgq4 5RrCVlOJaxcNya04FO4+5Nqw71W6wvqZR5EGccy3XBPHpFjttwg9/fHg77BPq9Gtc8+t CiM/RHYr2dDiFcXqPWWvHIekdMDE+aSEstcHnAAmbrX+kaeSfrbJ+4hC5YreyQc1dJob TsYGno5sNkxNTJjSiKp1fcGJYlBAXYWGl381X2uRpshsjokG1TkCDjDRUkIDNSNgebYp sY6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=iXvUqXzJ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m6-20020a056402510600b004678fd66f41si12372007edd.71.2022.12.13.13.19.07; Tue, 13 Dec 2022 13:19:36 -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=@joelfernandes.org header.s=google header.b=iXvUqXzJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236702AbiLMUvg (ORCPT + 73 others); Tue, 13 Dec 2022 15:51:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237028AbiLMUva (ORCPT ); Tue, 13 Dec 2022 15:51:30 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 824B81EAC9 for ; Tue, 13 Dec 2022 12:51:29 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id z26so6948199lfu.8 for ; Tue, 13 Dec 2022 12:51:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xtopGNdAVUpvCsyIX1KgtU4sqTtYdCSzIci1F+/mf5I=; b=iXvUqXzJcYDv9nNH6IVXFyfUZLa9Ec2A1fJHkMV/Ptc4Kod8dpeVkvD/tT3Vjy2AqM e7iqrSfHToE5ZGqCSMZnhikb7BlakvbsM6EcZ2cNxm9OHmlfnmJjxG8exKl6Ny1BwESz 0cyNg/f7OwddvuMcrKmdU9bAd+Sr2ZPxafFyk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xtopGNdAVUpvCsyIX1KgtU4sqTtYdCSzIci1F+/mf5I=; b=goBnTC6DonHsH7NuR1LVQPuHNS72cPgse5OMoAHfdG3Xg9Lo81W2JiPJt8DtInOprb MTpXwwufnm2uUUyCP6+8iNgQ1rb6Sf6ou/jHkLpszGMENClVwapBbB4roAW0xvoK1NkZ mUKdlfoFrC4ol7ZXRf+uJPGQAPEL/mM6UVFQrFZo9dNRhI5U8FeO1eE0xrAsmq91F64r ZAV3UVTPj4aBCTcs5c9FUxkG+io/a1r5IYhB/knF+zeO0jp+C0IBwd++7nRAvJkutcJR SaKrWqo0mVPyqgLoszeP+74gws5ybbgoPekbgYSPlgCZRNoncnrgRddLt+K7drgLz0X9 JoGw== X-Gm-Message-State: ANoB5plE7WLmbnECOlXL7L2xZn0ywPe8z5FGIoZwHJB6abGlrTXZ8WV7 /3N4zFSYgEw202wZD9mYScAOU9Bw0eHR1qOmbeKw/w== X-Received: by 2002:a05:6512:b26:b0:4b4:f7aa:4e4 with SMTP id w38-20020a0565120b2600b004b4f7aa04e4mr20840495lfu.128.1670964687872; Tue, 13 Dec 2022 12:51:27 -0800 (PST) MIME-Version: 1.0 References: <20221209022305.321149-1-joel@joelfernandes.org> <20221213202443.GU4001@paulmck-ThinkPad-P17-Gen-1> In-Reply-To: <20221213202443.GU4001@paulmck-ThinkPad-P17-Gen-1> From: Joel Fernandes Date: Tue, 13 Dec 2022 15:51:16 -0500 Message-ID: Subject: Re: [PATCH v2 1/2] locktorture: Allow non-rtmutex lock types to be boosted To: paulmck@kernel.org Cc: linux-kernel@vger.kernel.org, Davidlohr Bueso , Josh Triplett , rcu@vger.kernel.org, connoro@google.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 On Tue, Dec 13, 2022 at 3:24 PM Paul E. McKenney wrote: > > On Fri, Dec 09, 2022 at 02:23:04AM +0000, Joel Fernandes (Google) wrote: > > Currently RT boosting is only done for rtmutex_lock, however with proxy > > execution, we also have the mutex_lock participating in priorities. To > > exercise the testing better, add RT boosting to other lock testing types > > as well, using a new knob (rt_boost). > > > > Tested with boot parameters: > > locktorture.torture_type=mutex_lock > > locktorture.onoff_interval=1 > > locktorture.nwriters_stress=8 > > locktorture.stutter=0 > > locktorture.rt_boost=1 > > locktorture.rt_boost_factor=1 > > locktorture.nlocks=3 > > > > For the rtmutex test, rt_boost is always enabled even if disabling is > > requested. > > > > Signed-off-by: Joel Fernandes (Google) > > Nice, thank you! > > Except that "git am -3" doesn't know about the commit on which this > is based. Could you please rebase onto the -rcu tree's "dev" branch? > > Though there is nothing touching kernel/locking/locktorture.c in > -rcu at the moment, so I confess some curiosity as to exactly what > these patches are based on. ;-) Ah, I am not sure any more as it has been some time but I believe it was v5.15. My bad and I rebased it on to rcu/dev branch and resent it just now :) Thank you! - Joel