summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_stack.c
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2016-04-07 19:51:27 +0000
committerian <ian@FreeBSD.org>2016-04-07 19:51:27 +0000
commit4a670a48704efbbc8611576a75f4987f92800b2a (patch)
tree8e52b3518c1a24f9ca23f3d364f359edee257998 /lib/libthr/thread/thr_stack.c
parentd1312255dfda198688cc3865c5da8b0bf08f5672 (diff)
downloadFreeBSD-src-4a670a48704efbbc8611576a75f4987f92800b2a.zip
FreeBSD-src-4a670a48704efbbc8611576a75f4987f92800b2a.tar.gz
Remove unecessary locking, mostly from places where a read is done of a
value that can't ever be in an inconsistant intermediate state even when some other thread is in the middle of writing the value/register. Locking of the hardware remains in the few places that do r-m-w operations. Locking of metadata access is restricted to places using memcpy or sprintf to modify the metadata.
Diffstat (limited to 'lib/libthr/thread/thr_stack.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud