OpenBSD cvs log

created 2022-11-28T10:09:57Z
begin 2022-11-10T02:47:52Z
end 2022-11-10T07:05:41Z
path src/sys
commits 1

date 2022-11-10T07:05:41Z
author jmatthew
files src/sys/kern/init_main.c log diff annotate
src/sys/kern/subr_evcount.c log diff annotate
src/sys/sys/evcount.h log diff annotate
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@