CVSROOT: /cvs Module name: src Changes by: jmatt...@cvs.openbsd.org 2022/11/10 00:05:41
Modified files: share/man/man9 : evcount.9 sys/kern : init_main.c subr_evcount.c sys/sys : evcount.h Log message: Add support for per-cpu event counters, to be used for clock and IPI counters where the event being counted occurs across all CPUs in the system. Counter instances can be made per-cpu by calling evcount_percpu() after the counter is attached, and this can occur before or after all system CPUs are attached. Per-cpu counter instances should be incremented using evcount_inc(). ok kettenis@ jca@ cheloha@