]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
subr_sleepqueue.c presents a thread lock missing which leads to dangerous
authorattilio <attilio@FreeBSD.org>
Thu, 13 Sep 2007 09:12:36 +0000 (09:12 +0000)
committerattilio <attilio@FreeBSD.org>
Thu, 13 Sep 2007 09:12:36 +0000 (09:12 +0000)
commit4fcdd410b356850a77a61a5c1bc8d117f4277f44
tree066a1c8cc8781a22a505854795195b4bb6a11e13
parentc3b29b612d8405bcfbb6f23c9e9bbde3179d3bf2
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