cvs commit: src/lib/libpthread/thread thr_cancel.c thr_cond.c
thr_detach.c thr_kern.c thr_mutex.c thr_private.h thr_resume_np.c
thr_sig.c
Daniel Eischen
deischen at FreeBSD.org
Tue Jul 22 19:11:09 PDT 2003
deischen 2003/07/22 19:11:07 PDT
FreeBSD src repository
Modified files:
lib/libpthread/thread thr_cancel.c thr_cond.c thr_detach.c
thr_kern.c thr_mutex.c thr_private.h
thr_resume_np.c thr_sig.c
Log:
Move idle kse wakeup to outside of regions where locks are held.
This eliminates ping-ponging of locks, where the idle KSE wakes
up only to find the lock it needs is being held. This gives
little or no gain to M:N mode but greatly speeds up 1:1 mode.
Reviewed & Tested by: davidxu
Revision Changes Path
1.26 +6 -3 src/lib/libpthread/thread/thr_cancel.c
1.48 +8 -2 src/lib/libpthread/thread/thr_cond.c
1.23 +5 -3 src/lib/libpthread/thread/thr_detach.c
1.80 +57 -35 src/lib/libpthread/thread/thr_kern.c
1.39 +12 -6 src/lib/libpthread/thread/thr_mutex.c
1.94 +2 -2 src/lib/libpthread/thread/thr_private.h
1.18 +13 -5 src/lib/libpthread/thread/thr_resume_np.c
1.63 +27 -17 src/lib/libpthread/thread/thr_sig.c
More information about the cvs-src
mailing list