Date: Fri, 18 May 2018 02:57:39 +0000 (UTC) From: Matt Macy <mmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333776 - head/sys/kern Message-ID: <201805180257.w4I2vd8x044087@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805180257.w4I2vd8x044087>