Default the machdep.lapic_allclocks to be enabled in order to cope with
broken atrtc. Now if you want more correct stats on profhz and stathz it may be disabled by setting to 0. Reported by: A. Akephalos <akephalos dot akephalos at gmail dot com>, Jakub Lach <jakub_lach at mailplus dot pl> MFC: 1 week
This commit is contained in:
parent
a1d99827dd
commit
17586b1af8
@ -93,7 +93,7 @@ TUNABLE_INT("hw.i8254.freq", &i8254_freq);
|
||||
int i8254_max_count;
|
||||
static int i8254_real_max_count;
|
||||
|
||||
static int lapic_allclocks;
|
||||
static int lapic_allclocks = 1;
|
||||
TUNABLE_INT("machdep.lapic_allclocks", &lapic_allclocks);
|
||||
|
||||
static struct mtx clock_lock;
|
||||
|
@ -97,7 +97,7 @@ TUNABLE_INT("hw.i8254.freq", &i8254_freq);
|
||||
int i8254_max_count;
|
||||
static int i8254_real_max_count;
|
||||
|
||||
static int lapic_allclocks;
|
||||
static int lapic_allclocks = 1;
|
||||
TUNABLE_INT("machdep.lapic_allclocks", &lapic_allclocks);
|
||||
|
||||
struct mtx clock_lock;
|
||||
|
Loading…
Reference in New Issue
Block a user