From nobody Mon Mar 13 15:53:26 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pb1Qt2YvPz3xsMv; Mon, 13 Mar 2023 15:53:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pb1Qt1jR7z47mk; Mon, 13 Mar 2023 15:53:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678722806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IJ66CWuGJTrW78xf8Jxckyge2v+hVcsexgWCVBRBzow=; b=wjAYYO6Ujdk5Fe0vhddJiXcxiWakYwwGawHwWofpvUQaeeRJHlKf1gjB4Dmagb6JgyVqTz J4n20EBJtyWckEDz98qNOnog+B7h8HP/d6IyQd6hxbZivgtsIxTycjeKNwYJhp6nBjLB+l ik5D/c0i6i8lCpuFrn6sI6OwuebTSOyTLn7yuK2+FDJ1JdKxp+u7V6AW42aOMCmhP+m6ZW ZO8ufg0+0KnQJQNAvOokVKtcTdpo/hzF0KdghWDcSkct3xbtd3bfnk7jiH/jaeThGK8B+H b1PEPZ60fsj6c9YSdMwxkQcML3zNz+wEAZJu8iuwrYDtH56vzMpK20ao+f7otQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678722806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IJ66CWuGJTrW78xf8Jxckyge2v+hVcsexgWCVBRBzow=; b=tqgkKoCeNV0EC9uiGMVXgmp6jd1iNNhU+NfU3eE9F77OFpxxt5TmSYQaeqARaSIebdOCKr GhdvVIdYcFyDgk1YGq+C2ldH3nT13sGkBrio2bfE1PcTeK/XuZLmz65h4Vb8bQ9nRXJavi n1lCzSZVD0ysqt5ysfevEKmbTVztabi4pWXLjPzYFYLmq0IPDjyH97yW2tb5riJgSSarBA jJqQCqeUDGaEZR3dnTG0dYSamUOD3SQY0xtVMw2s639SUYYnmdC0zy+OsiAcsj/52h1wbN d2lRhU+pMZHBkpxRoHODGg8z9ZgSIytgO8MSRrKx8dm8d8t8cT+O1fkbyvDRWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678722806; a=rsa-sha256; cv=none; b=WXPFjbeEbHBQPvK1nO/XmH7IYMLD+CPBawWzyLY1mytSfmh8Az053+d8NDHDRoTh40TTKS 1JXhGjXJUI5XmiF3sIbtt/Jsq58JLsUmIqiKoiubBxs6EsU1/WVjlQkw3o4OyQyTlAgL0g Rubd33s2rwYYqALgfJ/mgG6pB/OQLKVX18lxOiq3wqXCYHmbJn41tPgpClqehBnuKZnqsq 6aUSII/NlckgRq+klU3tBcAqQVUj2YjIu0UQyRkeGpvEgj8yNurzudd61J8dquO9G089Gl uQ/Q+O5GujttKZewL+8QAzjby1+uQz8Sy2JnBR4KAgUWxNVRIkdIBmgsN/wHXQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pb1Qt0lBQz10DZ; Mon, 13 Mar 2023 15:53:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32DFrQuj039823; Mon, 13 Mar 2023 15:53:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32DFrQJH039822; Mon, 13 Mar 2023 15:53:26 GMT (envelope-from git) Date: Mon, 13 Mar 2023 15:53:26 GMT Message-Id: <202303131553.32DFrQJH039822@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 054f0a64547f - stable/13 - deadlkres: Make parameters settable with tunables List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 054f0a64547fc0d88deecc489c2d9491cc624ed5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=054f0a64547fc0d88deecc489c2d9491cc624ed5 commit 054f0a64547fc0d88deecc489c2d9491cc624ed5 Author: Mark Johnston AuthorDate: 2023-03-03 16:16:16 +0000 Commit: Mark Johnston CommitDate: 2023-03-13 15:53:16 +0000 deadlkres: Make parameters settable with tunables MFC after: 1 week Sponsored by: Klara, Inc. Sponsored by: Juniper Networks, Inc. (cherry picked from commit 831601773e5ab58b9485c1b111eb8c7c7343abf6) --- sys/kern/kern_clock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index e03245a6c492..8ee42a92aee9 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -304,13 +304,13 @@ SYSINIT(deadlkres, SI_SUB_CLOCKS, SI_ORDER_ANY, kthread_start, &deadlkres_kd); static SYSCTL_NODE(_debug, OID_AUTO, deadlkres, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, "Deadlock resolver"); -SYSCTL_INT(_debug_deadlkres, OID_AUTO, slptime_threshold, CTLFLAG_RW, +SYSCTL_INT(_debug_deadlkres, OID_AUTO, slptime_threshold, CTLFLAG_RWTUN, &slptime_threshold, 0, "Number of seconds within is valid to sleep on a sleepqueue"); -SYSCTL_INT(_debug_deadlkres, OID_AUTO, blktime_threshold, CTLFLAG_RW, +SYSCTL_INT(_debug_deadlkres, OID_AUTO, blktime_threshold, CTLFLAG_RWTUN, &blktime_threshold, 0, "Number of seconds within is valid to block on a turnstile"); -SYSCTL_INT(_debug_deadlkres, OID_AUTO, sleepfreq, CTLFLAG_RW, &sleepfreq, 0, +SYSCTL_INT(_debug_deadlkres, OID_AUTO, sleepfreq, CTLFLAG_RWTUN, &sleepfreq, 0, "Number of seconds between any deadlock resolver thread run"); #endif /* DEADLKRES */