Skip to content

Commit

Permalink
rangelocks: re-enable cheat mode
Browse files Browse the repository at this point in the history
Tested by:	lwhsu
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D46465
  • Loading branch information
kostikbel committed Aug 28, 2024
1 parent 4e1f29b commit 5378962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/kern/kern_rangelock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
"");
Expand Down

0 comments on commit 5378962

Please sign in to comment.