git: kernel - Fix missing lock in pbuf update (minor)

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jul 10 20:22:35 PDT 2012


commit 7f86d367e1e66db4e35e0721447d6318f78fd555
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jul 10 20:15:37 2012 -0700

    kernel - Fix missing lock in pbuf update (minor)
    
    * Fix a small timing window in an update of a counter.
    
    * This bug is not known to have been hit by anyone, due to default
      settings for asynchronous I/O.

Summary of changes:
 sys/sys/buf.h       |    1 +
 sys/vm/swap_pager.c |    4 +---
 sys/vm/vm_pager.c   |   11 +++++++++++
 3 files changed, 13 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7f86d367e1e66db4e35e0721447d6318f78fd555


-- 
DragonFly BSD source repository





More information about the Commits mailing list