Module Name: src Committed By: rmind Date: Tue Sep 24 23:45:16 UTC 2013
Modified Files: src/lib/librumpuser: rumpuser_pth.c Log Message: rumpuser_rwlock: replace internal pthread_spin_lock (for protecting reader count) with atomic operations. As pthread_spin_lock is not adaptive lock, it can have hugely negative impact if contended here, especially with priority inversions. Now contended rwlock(9) no longer falls flat in RUMP kernels. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/lib/librumpuser/rumpuser_pth.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.