diff options
author | jeff <jeff@FreeBSD.org> | 2009-06-25 01:33:51 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2009-06-25 01:33:51 +0000 |
commit | 826fa583d1188971f86c4638858dbef49aebdaa7 (patch) | |
tree | 75e8c5cec68f53520d7694b5b3bb57519620bbcb /lib/libc/string/wcswidth.c | |
parent | a90de6966fb7a33bd8e6cb8f793cf8be779e97cd (diff) | |
download | FreeBSD-src-826fa583d1188971f86c4638858dbef49aebdaa7.zip FreeBSD-src-826fa583d1188971f86c4638858dbef49aebdaa7.tar.gz |
- 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
Diffstat (limited to 'lib/libc/string/wcswidth.c')
0 files changed, 0 insertions, 0 deletions