[Serdev] CVS:commitlog: sip_router fastlock.h sip_router/atomic atomic_x86.h

Andrei Pelinescu-Onciul andrei at iptel.org
Mon Apr 3 19:03:17 UTC 2006


andrei      2006/04/03 21:03:17 CEST

  SER CVS Repository

  Modified files:
    .                    fastlock.h 
    atomic               atomic_x86.h 
  Log:
  - membar_write on x86_64 is by default empty (since on amd64 stores are
  always ordered)
  
  - x86/x86_64 lock optimizations:  spinning on a lock should be friendlier now
    for the other cpus caches (at the extra cost of a cmp mem + jump) ; tried to
    arrange a little better the instructions to allow for some parallel
    execution.
  
  - x86 unlocks with xchg by default (since some x86s reorder stores, so a
   simple mov is unsafe)
  
  Revision  Changes    Path
  1.2       +4 -2      sip_router/atomic/atomic_x86.h
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/atomic/atomic_x86.h.diff?r1=1.1&r2=1.2
  1.31      +43 -12    sip_router/fastlock.h
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/fastlock.h.diff?r1=1.30&r2=1.31




More information about the Serdev mailing list