git: kernel - Deoptimize refcount case

看板DFBSD_commit作者時間14年前 (2011/11/11 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1El1Yek6 (DFBSD_commit)