summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcswidth.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2009-06-25 01:33:51 +0000
committerjeff <jeff@FreeBSD.org>2009-06-25 01:33:51 +0000
commit826fa583d1188971f86c4638858dbef49aebdaa7 (patch)
tree75e8c5cec68f53520d7694b5b3bb57519620bbcb /lib/libc/string/wcswidth.c
parenta90de6966fb7a33bd8e6cb8f793cf8be779e97cd (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud