diff options
author | Mark Johnston <markj@FreeBSD.org> | 2017-12-18 17:26:24 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2017-12-18 17:26:24 +0000 |
commit | 6c7828a2807ea5e50c79ca42dbedf2b589ce63b2 (patch) | |
tree | 6c3f315b9650d6b600234906118e374f666b42b2 /contrib/llvm/lib/Transforms/IPO/GlobalSplit.cpp | |
parent | d5d5600725d3ba56f33f65e08738f58bfe38ee64 (diff) |
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/Transforms/IPO/GlobalSplit.cpp')
0 files changed, 0 insertions, 0 deletions