commit 9ba9002ba9990c491fa3efd8fdcf70b59e261ef2
Author: Matthew Dillon <[email protected]>
Date: Wed Jan 27 17:20:03 2021 -0800
kernel - Add memory barriers to more __asm functions.
* Add memory barriers to more __asm functions that have memory
side-effects. This should help prevent any unexpected instruction
reordering around these functions.
Submitted-by: chicken
Bug-ID: #3263
Summary of changes:
sys/cpu/x86_64/include/cpufunc.h | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9ba9002ba9990c491fa3efd8fdcf70b59e261ef2
--
DragonFly BSD source repository