DragonFly commits List (threaded) for 2013-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - cpu_pause() needs to be memory-modifying
commit 106d187cc4eaccbbddaab6e02663948653c22dc9
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Fri Feb 22 21:44:55 2013 -0800
kernel - cpu_pause() needs to be memory-modifying
* __asm __volatile isn't enough, it also needs the "memory"
attribute to prevent gcc from optimizing out memory loads around
loops using cpu_pause().
Summary of changes:
sys/cpu/i386/include/cpufunc.h | 2 +-
sys/cpu/x86_64/include/cpufunc.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/106d187cc4eaccbbddaab6e02663948653c22dc9
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]