Searched hist:194936 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.3-release/sys/sys/
H A Dsched.hdiff 194936 Thu Jun 25 01: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
/freebsd-10.3-release/sys/kern/
H A Dkern_switch.cdiff 194936 Thu Jun 25 01: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 102 milliseconds