Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2024 14:50:00 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5378962154e0 - main - rangelocks: re-enable cheat mode
Message-ID:  <202408281450.47SEo0CM000245@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=5378962154e08e9af43a9e8e832d0dc81a4f4517

commit 5378962154e08e9af43a9e8e832d0dc81a4f4517
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-08-27 21:38:21 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
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,
     "");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408281450.47SEo0CM000245>