cvs commit: src/sys/sys proc.h umtx.h src/sys/kern kern_umtx.c
Jeff Roberson
jeff at FreeBSD.org
Mon Jun 2 22:24:47 PDT 2003
jeff 2003/06/02 22:24:46 PDT
FreeBSD src repository
Modified files:
sys/sys proc.h umtx.h
sys/kern kern_umtx.c
Log:
- Remove the blocked pointer from the umtx structure.
- Use a hash of umtx queues to queue blocked threads. We hash on pid and the
virtual address of the umtx structure. This eliminates cases where we
previously held a lock across a casuptr call.
Reviwed by: jhb (quickly)
Revision Changes Path
1.4 +163 -171 src/sys/kern/kern_umtx.c
1.331 +1 -2 src/sys/sys/proc.h
1.2 +0 -1 src/sys/sys/umtx.h
More information about the cvs-src
mailing list