freebsd-dev/sys/cddl
Mark Johnston 6c7828a280 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
2017-12-18 17:26:24 +00:00
..
boot/zfs Mark two things as unused (since they are only sometimes used) and 2017-12-03 04:55:33 +00:00
compat/opensolaris make illumos uiocopy use vn_io_fault_uiomove 2017-11-21 18:01:43 +00:00
contrib/opensolaris Unregister the ARC lowmem event handler earlier in arc_fini(). 2017-12-17 18:21:40 +00:00
dev Avoid CPU migration in dtrace_gethrtime() on x86. 2017-12-18 17:26:24 +00:00