aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_lock.c
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2017-01-27 15:03:51 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2017-01-27 15:03:51 +0000
commit290511163d64df58da9dbde07b130a6c4c96d981 (patch)
tree596936626d12aa693826a144e583d06d9ef0c12a /sys/kern/subr_lock.c
parent17071ff29803ec116b11d64f9ad367577eb45d8e (diff)
downloadsrc-290511163d64df58da9dbde07b130a6c4c96d981.tar.gz
src-290511163d64df58da9dbde07b130a6c4c96d981.zip
Notes
Diffstat (limited to 'sys/kern/subr_lock.c')
-rw-r--r--sys/kern/subr_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_lock.c b/sys/kern/subr_lock.c
index bfe189d4363e..f83ba58f7aa4 100644
--- a/sys/kern/subr_lock.c
+++ b/sys/kern/subr_lock.c
@@ -213,7 +213,7 @@ struct lock_prof_cpu {
struct lock_prof_cpu *lp_cpu[MAXCPU];
-volatile int lock_prof_enable = 0;
+volatile int __read_mostly lock_prof_enable;
static volatile int lock_prof_resetting;
#define LPROF_SBUF_SIZE 256