git: kernel - Fix a small race in the umtx code

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jul 29 01:24:26 PDT 2011


commit 369ba561fd5552e7b52e722210befbd970fc3124
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jul 29 01:12:08 2011 -0700

    kernel - Fix a small race in the umtx code
    
    * Add an additional check after registering the vm_page action before
      actually going to sleep, closing a potential vm_token race.

Summary of changes:
 sys/kern/kern_umtx.c |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/369ba561fd5552e7b52e722210befbd970fc3124


-- 
DragonFly BSD source repository





More information about the Commits mailing list