aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm/lib/CodeGen/AllocationOrder.cpp
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2017-12-18 17:26:24 +0000
committerMark Johnston <markj@FreeBSD.org>2017-12-18 17:26:24 +0000
commit6c7828a2807ea5e50c79ca42dbedf2b589ce63b2 (patch)
tree6c3f315b9650d6b600234906118e374f666b42b2 /contrib/llvm/lib/CodeGen/AllocationOrder.cpp
parentd5d5600725d3ba56f33f65e08738f58bfe38ee64 (diff)
downloadsrc-6c7828a2807ea5e50c79ca42dbedf2b589ce63b2.tar.gz
src-6c7828a2807ea5e50c79ca42dbedf2b589ce63b2.zip
Avoid CPU migration in dtrace_gethrtime() on x86.
dtrace_gethrtime() may be called outside of probe context, and in particular, from the DTRACEIOC_BUFSNAP handler. Disable interrupts rather than using sched_pin() to help ensure that we don't call any external functions when in probe context. PR: 218452 MFC after: 1 week
Notes
Notes: svn path=/head/; revision=326935
Diffstat (limited to 'contrib/llvm/lib/CodeGen/AllocationOrder.cpp')
0 files changed, 0 insertions, 0 deletions