看板 DFBSD_commit 關於我們 聯絡資訊
commit 8bd60bc26686ba32daa68a8196296ecbc2d048a3 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Jan 19 11:12:47 2011 -0800 kernel - Use atomic ops for devstat's ds->busy_count field. * Use atomic ops to manage the busy_count field as these functions can be called MP. * This should avoid negative busy_count transitions due to MP races on the field. Reported-by: Peter Avalos <peter@theshell.com> Summary of changes: sys/kern/subr_devstat.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8bd60bc26686ba32daa68a8196296ecbc2d048a3 -- DragonFly BSD source repository