Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3510167rwb; Fri, 9 Dec 2022 15:53:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf6a9OqJDyAAHy0JuPhT56HH/HhfLHSaCVPGgFsQlPJfW/vhou5A1/lxTWjiVHaDpluPgeGm X-Received: by 2002:a05:6a20:3ca5:b0:9d:efbf:8155 with SMTP id b37-20020a056a203ca500b0009defbf8155mr12529053pzj.30.1670630009531; Fri, 09 Dec 2022 15:53:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670630009; cv=none; d=google.com; s=arc-20160816; b=yiuhEgo/rZZ/XTdAVFhwUActIhZamdHp0pCKgNvcUsxgDz49qz8nglRJQgyST6utiI qTU8yf201g0yTgXBfT3xyRUwJmZMNTTqBGFScVci20zP+cdUhQOZYmv6s5ML+MPEoIKI fdf9CFR0Eruk08TmcvcN5UN0IjMI/iYGqd5dqlnMpVTAU4OYbEt12lkTsuEf7Muevfdu eGdvnLpuSbk8jrrKE0LxP0pRs0q1tV4Wwx9G+hxU9Ng13eNhEJ9Jy8tRwvPsy/yfgVLz tq585MBV4s2B2XOy6iWfW2O/Xhc7w3rzPYm1odQjlPXfvNdir3u7mGNXticIVMf5ruUF gw8A== 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=+icRteLLplEp3Ek/NXtDd9Se354lCSj/qCUgEIA000k=; b=UXndzkm/rapIL6Zo4yDc+EBMzqFEFdjduG8BJBaFtvc3tGt4rMVZO9TiOtig9hit4u X7QUouk4dmg7LfE11s0a9EFRHrTsDrhljJT0UY8utRJtgwkmhuh9n9xHlnsn88rPKwkI i9hoSR8VRl4I5LaPIECwKDYHsOTUap8yojXnFKgSGBLE8+ZDB68r1maq1DQxbnp6yAUG 04UbMglsPLn/hvLNHFuoaZm0Ftk1IZfEzS74m2shPNSektlcew/FGimnTB4Pvgxnjy2Q F1206uAjicxOZfeXc0b9LGO4krnMwt7TS5PgLSiIxfiqC+JGkmDiY5ubjB+BT/j0kh4C edsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=gAqZH17K; 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 u14-20020a63790e000000b004790794f259si2784872pgc.739.2022.12.09.15.53.19; Fri, 09 Dec 2022 15:53:29 -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=gAqZH17K; 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 S229656AbiLIXXe (ORCPT + 74 others); Fri, 9 Dec 2022 18:23:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbiLIXXd (ORCPT ); Fri, 9 Dec 2022 18:23:33 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A827F29822 for ; Fri, 9 Dec 2022 15:23:32 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id x28so9307858lfn.6 for ; Fri, 09 Dec 2022 15:23:32 -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=+icRteLLplEp3Ek/NXtDd9Se354lCSj/qCUgEIA000k=; b=gAqZH17K6r2+VNZVHPk61uPPLKx4h3U28CM81aZWpAIWUmu8PiVAYYGJo/TNew5m1c UaLumuIOpDBpPu91/QWAnSz5Tf8lcWI1569hlbnXtxO1r4zBxWIUl9kJIlwuDnPSC9Or B5Y8rRhjWNs4jEn8TtjN93iqcYgr+lwi9gMFo= 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=+icRteLLplEp3Ek/NXtDd9Se354lCSj/qCUgEIA000k=; b=KvoKyn+CdHTMshIXSLW3EVhGFT1fvyawy8CZrrtNh+yGEpxBc4e6OpWaOcaS9fSapq twmiZnn+y+ruxO5rvrwn+Bnnm/nId0f/plNH3uCP9i7LmQUFkXJJz2S8Yx6mBPQqU9j9 kAooMiALMxmDudRtEohwvX74BEUC7AVaSUFF8dhdRMrjzfQ8Oilm2guTeueoKAJ1vcV2 zOy0/NV/Z5SGAstbFYkyj0KAvgAOzjVsXst9Nxrfmfe6cjC6C4a6rGh7qJzRncX7+DXX EXd2d2sQYTb1gcxs9PwqaU6jS8zJy7PisffeRr+mvMq38Gb9X18CbgCDmB7L1Tin+DuX 2eDg== X-Gm-Message-State: ANoB5plprzkPgPyIleUtQOJ+JhuFtOk8/QyNiyPccgt+Me4/A0c2Dg+K AhWnBY7F9TZdHwgyz2hNsOP4nX83SzH9qkoxLugLrw== X-Received: by 2002:a05:6512:3248:b0:4aa:148d:5168 with SMTP id c8-20020a056512324800b004aa148d5168mr30344867lfr.561.1670628210994; Fri, 09 Dec 2022 15:23:30 -0800 (PST) MIME-Version: 1.0 References: <20221209022305.321149-1-joel@joelfernandes.org> <20221209022305.321149-2-joel@joelfernandes.org> <20221209163759.6s7pqf5wdvy32ywn@offworld> <20221209223232.2dqjeamad6nhlcmp@offworld> In-Reply-To: <20221209223232.2dqjeamad6nhlcmp@offworld> From: Joel Fernandes Date: Fri, 9 Dec 2022 23:23:19 +0000 Message-ID: Subject: Re: [PATCH v2 2/2] locktorture: Make the rt_boost factor a tunable To: Davidlohr Bueso Cc: linux-kernel@vger.kernel.org, Josh Triplett , "Paul E. McKenney" , 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 Fri, Dec 9, 2022 at 10:56 PM Davidlohr Bueso wrote: > > On Fri, 09 Dec 2022, Joel Fernandes wrote: > > >> >- * Boost priority once every ~50k operations. When the > >> >- * task tries to take the lock, the rtmutex it will account > >> >+ * Boost priority once every rt_boost_factor operations. When > >> >+ * the task tries to take the lock, the rtmutex it will account > >> > >> Nit: maybe refer to it as 'rt_boost_factor'? > > > >Sorry, I did not follow. Refer to what? > > Just use single quotes to refer to the parameter. Ah, got it. Will do (either next respin or Paul can do it) and thank you. - Joel