Searched hist:194936 (Results 1 - 1 of 1) sorted by last modified time
/freebsd-11-stable/sys/kern/ | ||
H A D | kern_switch.c | diff 194936 Wed Jun 24 23:34:49 MDT 2009 jeff - Use DPCPU for SCHED_STATS. This is somewhat awkward because the offset of the stat is not known until link time so we must emit a function to call SYSCTL_ADD_PROC rather than using SYSCTL_PROC directly. - Eliminate the atomic from SCHED_STAT_INC now that it's using per-cpu variables. Sched stats are always incremented while we're holding a spinlock so no further protection is required. Reviewed by: sam |
Completed in 121 milliseconds