Author: mmacy
Date: Fri May 18 02:57:39 2018
New Revision: 333776
URL: https://svnweb.freebsd.org/changeset/base/333776

Log:
  epoch: actually allocate the counters we've assigned sysctls too
  
  Approved by:  sbruno

Modified:
  head/sys/kern/subr_epoch.c

Modified: head/sys/kern/subr_epoch.c
==============================================================================
--- head/sys/kern/subr_epoch.c  Fri May 18 01:52:51 2018        (r333775)
+++ head/sys/kern/subr_epoch.c  Fri May 18 02:57:39 2018        (r333776)
@@ -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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to