summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/Basic/LangOptions.cpp
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-06-09 11:49:56 +0000
committerkib <kib@FreeBSD.org>2015-06-09 11:49:56 +0000
commit557733c8f37eac4667e3eef4422fcdd0556f73ca (patch)
tree642e4c5875889e8ea942463ac001ca80c1cff958 /contrib/llvm/tools/clang/lib/Basic/LangOptions.cpp
parent8d7fa71fca50afb21d91c5dff2c41a862513efe2 (diff)
downloadFreeBSD-src-557733c8f37eac4667e3eef4422fcdd0556f73ca.zip
FreeBSD-src-557733c8f37eac4667e3eef4422fcdd0556f73ca.tar.gz
When updating/accessing the timehands, barriers are needed to ensure
that: - th_generation update is visible after the parameters update is visible; - the read of parameters is not reordered before initial read of th_generation. On UP kernels, compiler barriers are enough. For SMP machines, CPU barriers must be used too, as was confirmed by submitter by testing on the Freescale T4240 platform with 24 PowerPC processors. Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de> MFC after: 1 week
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Basic/LangOptions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud