Rollback the allproclk and fileheadlk addition. When grabbing an
authorguenther <guenther@openbsd.org>
Mon, 19 Jul 2010 23:00:15 +0000 (23:00 +0000)
committerguenther <guenther@openbsd.org>
Mon, 19 Jul 2010 23:00:15 +0000 (23:00 +0000)
commit7c5b01014617411dc7e802169e95e467438a06cc
tree75275a6cf9e85316e48c99ba6bba9d678c3d2c94
parenta778b769ad33e0bd7bee3776120e564ecb5c848d
Rollback the allproclk and fileheadlk addition.  When grabbing an
rwlock, the thread will release biglock if it sleeps, means that
atomicity from before the rw_enter() to after it is not guaranteed.
The change didn't address those, so pulling it until it does.

"go for it" tedu@
sys/kern/kern_descrip.c
sys/kern/kern_exit.c
sys/kern/kern_fork.c
sys/kern/kern_proc.c
sys/kern/kern_sysctl.c
sys/sys/file.h
sys/sys/proc.h