]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
subr_sleepqueue.c presents a thread lock missing which leads to dangerous
authorAttilio Rao <attilio@FreeBSD.org>
Thu, 13 Sep 2007 09:12:36 +0000 (09:12 +0000)
committerAttilio Rao <attilio@FreeBSD.org>
Thu, 13 Sep 2007 09:12:36 +0000 (09:12 +0000)
commitc7fb7ce53a68240a2281dcaa8c3e1e822993c35e
tree066a1c8cc8781a22a505854795195b4bb6a11e13
parentb2adf5c8372440462d6cb9f2f00aff6275afcc0d
subr_sleepqueue.c presents a thread lock missing which leads to dangerous
races for some struct thread members.
More specifically, this bug seems responsible for some memory dumping
problems people were experiencing.

Fix this adding correct thread locking.

Tested by: rwatson
Submitted by: tegge
Approved by: jeff
Approved by: re
sys/kern/subr_sleepqueue.c