DragonFly commits List (threaded) for 2011-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Deoptimize refcount case
commit d69db72b1a7495da31f52b159e817afb043017a0
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Thu Nov 10 10:02:30 2011 -0800
kernel - Deoptimize refcount case
* Make sure the compiler does not optimize the loading of *countp as the
value can change out from under us. It's volatile anyway but don't take
any chances.
Summary of changes:
sys/kern/kern_refcount.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d69db72b1a7495da31f52b159e817afb043017a0
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]