From nobody Wed Aug 28 14:50:00 2024 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 4Wv6lD3V4kz52PkK; Wed, 28 Aug 2024 14:50:00 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wv6lD1xd2z4NXG; Wed, 28 Aug 2024 14:50:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724856600; 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=dnWKhuP8AJCOb4uPXUj6zgHLnK+MIoHa6raSNluAOZM=; b=C/uXgfBFzzvBJEQRJOFgTcBBbDYbtfyg+w0u+Y+diYvX52APtwC69+7RAZRBjsermAbKhF n6QBHtP59SVat3jojNI8HxoFOHVOeyaox2lG50c/+QRYjdJvYLBq6UnUOS1nbuwWp/z/9c fnWW2+YgD8m9Pxu59SBXrlTSH/H1ZyFctYR8XLqREZ7WMiDaIUsuNNf2QqdmTWjpsGw1yj Q64Gcwnsjznim03EtgfpXWGRKrCdHZizGkEaO9tgJqkHk4j6V00ldjtnGxtlsd6PSyiOIP BZSljZB8vvAD03Tpahfy787igbQCo1SLWc2y6Q/3nxH6Bkem3kkHNI/nfxz+Gg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724856600; a=rsa-sha256; cv=none; b=Fxp0YLyJtWxAA28By+VimA9nMp24r8gUqn0t/M94Aq2DMtZkocGT3pCmktvbkPoSqWlq29 o6eprRhJApJ9Lbow2qaPGdFn6RTxWa/UiybtUbMo9Q0Z66sVL4MAzgZvKgxTwuYLpAfrr4 ni7B5YeYeyhE+fW2pmEixs0CQ1+Npjnzo/RWlZ5jJIVgFt3WaanaZ4mf32aQ+0X4HOSUNL 26QZRpPR9KcEZeB0ixL546DwCD8IKWRcaeM3XngHkbaXExeUZVuC8E0yU/d7rv2/pZzad8 fqQM+Ek49Ej3OGhpRsJnTvvwOn4FtndemJtQFWXoaU/c971PFC2V7rJUPnCe4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724856600; 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=dnWKhuP8AJCOb4uPXUj6zgHLnK+MIoHa6raSNluAOZM=; b=opj2og4ZYHc8Au9/rsdhTGCsyZWGajFoCgsxZqRghViApGLaH7XGkgpWStpVm5JNc2MAo1 biZcY8t8yQYD+BomTgn5XpZeGv+lmcowtH+NvyB3hluT+o4rkZrtHAE/yb+OQSN7Z+n9h0 8tVS4VxghZFo1FeRs9spmZjwnMBSLWw8mN06xRsB68H2Zo5gzny/0GpQmMsqIdHStWOjVm DH0pZTfvL5oOwNgipMxamMdkQRiIIRmzJDHeIaOYfhp7Rh4TvKwRCBqPkauIa+Mcs/fMEa ZDRAbuUmxtTI3YFWk75nIscJOaQgThDdlsmKQ36Q69ubmui7T95dCmdWtKR0mA== 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 4Wv6lD1XZyzdfZ; Wed, 28 Aug 2024 14:50:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47SEo0OL000248; Wed, 28 Aug 2024 14:50:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47SEo0CM000245; Wed, 28 Aug 2024 14:50:00 GMT (envelope-from git) Date: Wed, 28 Aug 2024 14:50:00 GMT Message-Id: <202408281450.47SEo0CM000245@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 5378962154e0 - main - rangelocks: re-enable cheat mode 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5378962154e08e9af43a9e8e832d0dc81a4f4517 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=5378962154e08e9af43a9e8e832d0dc81a4f4517 commit 5378962154e08e9af43a9e8e832d0dc81a4f4517 Author: Konstantin Belousov AuthorDate: 2024-08-27 21:38:21 +0000 Commit: Konstantin Belousov CommitDate: 2024-08-28 14:34:54 +0000 rangelocks: re-enable cheat mode Tested by: lwhsu Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D46465 --- sys/kern/kern_rangelock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_rangelock.c b/sys/kern/kern_rangelock.c index 4d74c02302e7..580910597c08 100644 --- a/sys/kern/kern_rangelock.c +++ b/sys/kern/kern_rangelock.c @@ -66,7 +66,7 @@ * trylocks are same as normal locks but do not drain. */ -static int rangelock_cheat = 0; +static int rangelock_cheat = 1; SYSCTL_INT(_debug, OID_AUTO, rangelock_cheat, CTLFLAG_RWTUN, &rangelock_cheat, 0, "");