epoch: actually allocate the counters we've assigned sysctls too
Approved by: sbruno
This commit is contained in:
parent
5e68a3dfe3
commit
60b7b90d65
@ -142,6 +142,8 @@ epoch_init(void *arg __unused)
|
||||
migrate_count = counter_u64_alloc(M_WAITOK);
|
||||
turnstile_count = counter_u64_alloc(M_WAITOK);
|
||||
switch_count = counter_u64_alloc(M_WAITOK);
|
||||
epoch_call_count = counter_u64_alloc(M_WAITOK);
|
||||
epoch_call_task_count = counter_u64_alloc(M_WAITOK);
|
||||
if (usedomains == false)
|
||||
goto done;
|
||||
count = domain = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user