Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 08/16/2007 12:01:50
Module Name: src
Committed By: ad
Date: Thu Aug 16 12:01:50 UTC 2007
Modified Files:
src/lib/libpthread: pthread.c pthread_debug.c pthread_debug.h
pthread_int.h pthread_lock.c pthread_specific.c pthread_tsd.c
Log Message:
- Reinitialize the absolute minimum when recycling user thread state.
Chops another ~10% off create/join in a loop on i386.
- Disable low level debugging as this is stable. Improves benchmarks
across the board by a small percentage. Uncontested mutex acquire
and release in a loop becomes about 8% quicker.
- Minor cleanup.
To generate a diff of this commit:
cvs rdiff -r1.76 -r1.77 src/lib/libpthread/pthread.c
cvs rdiff -r1.12 -r1.13 src/lib/libpthread/pthread_debug.c
cvs rdiff -r1.10 -r1.11 src/lib/libpthread/pthread_debug.h \
src/lib/libpthread/pthread_specific.c
cvs rdiff -r1.47 -r1.48 src/lib/libpthread/pthread_int.h
cvs rdiff -r1.21 -r1.22 src/lib/libpthread/pthread_lock.c
cvs rdiff -r1.2 -r1.3 src/lib/libpthread/pthread_tsd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.