kernel - Fix a small race in the umtx code
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 29 Jul 2011 08:12:08 +0000 (01:12 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 29 Jul 2011 08:12:08 +0000 (01:12 -0700)
commit369ba561fd5552e7b52e722210befbd970fc3124
tree95baac75d090749215684ba4689c136c7898b84a
parent5fb4f156a8c394bdd558af7d5ffc80df76a43200
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.
sys/kern/kern_umtx.c