[Serdev] CVS:commitlog: sip_router Makefile.defs fastlock.h
lock_ops.h sip_router/doc locking.txt
Andrei Pelinescu-Onciul
andrei at iptel.org
Tue Apr 4 18:04:02 UTC 2006
andrei 2006/04/04 20:04:02 CEST
SER CVS Repository
Modified files:
. Makefile.defs fastlock.h lock_ops.h
doc locking.txt
Log:
- fastlock: optimizations (in general a "nicer" spin on the lock for the other
cpus) and cleanups for sparc, sparc64, armv6 (nosmp for now), ppc*, mips*
- fastlock: alpha: replace the cond. jump backward with a
cond. jump forward and then jump backward (because a cond. jump with
a negative relative offset is always predicted as taken and we want it
to be predicted as not taken)
- fastlock: sparc (32) smp support
- lock_ops.h: introduced lock_try and lock_set_try (non-blocking
lock_*_get versions, returns -1 if it failed to get the lock and 0 if it
succeeds), for all the supported locking methods (fast_lock, pthread_mutex,
posix_sem, sysv_sems)
- updated locking doc.
Revision Changes Path
1.357 +2 -2 sip_router/Makefile.defs
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/Makefile.defs.diff?r1=1.356&r2=1.357
1.3 +10 -3 sip_router/doc/locking.txt
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/doc/locking.txt.diff?r1=1.2&r2=1.3
1.32 +121 -39 sip_router/fastlock.h
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/fastlock.h.diff?r1=1.31&r2=1.32
1.8 +65 -3 sip_router/lock_ops.h
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/lock_ops.h.diff?r1=1.7&r2=1.8
More information about the Serdev
mailing list