cvs commit: src/share/man/man9 locking.9 rmlock.9 src/sys/conf files src/sys/kern kern_rmlock.c subr_lock.c subr_pcpu.c subr_smp.c src/sys/sys _rmlock.h lock.h pcpu.h rmlock.h smp.h

Stephan Uphoff ups at FreeBSD.org
Thu Nov 8 06:47:56 PST 2007


ups         2007-11-08 14:47:55 UTC

  FreeBSD src repository

  Modified files:
    share/man/man9       locking.9 
    sys/conf             files 
    sys/kern             subr_lock.c subr_pcpu.c subr_smp.c 
    sys/sys              lock.h pcpu.h smp.h 
  Added files:
    share/man/man9       rmlock.9 
    sys/kern             kern_rmlock.c 
    sys/sys              _rmlock.h rmlock.h 
  Log:
  Initial checkin for rmlock (read mostly lock) a multi reader single writer
  lock optimized for almost exclusive reader access. (see also rmlock.9)
  
  TODO:
      Convert to per cpu variables linkerset as soon as it is available.
      Optimize UP (single processor)  case.
  
  Revision  Changes    Path
  1.12      +23 -8     src/share/man/man9/locking.9
  1.1       +185 -0    src/share/man/man9/rmlock.9 (new)
  1.1250    +1 -0      src/sys/conf/files
  1.1       +500 -0    src/sys/kern/kern_rmlock.c (new)
  1.18      +1 -0      src/sys/kern/subr_lock.c
  1.9       +4 -1      src/sys/kern/subr_pcpu.c
  1.202     +37 -16    src/sys/kern/subr_smp.c
  1.1       +62 -0     src/sys/sys/_rmlock.h (new)
  1.69      +1 -0      src/sys/sys/lock.h
  1.23      +22 -0     src/sys/sys/pcpu.h
  1.1       +109 -0    src/sys/sys/rmlock.h (new)
  1.86      +1 -0      src/sys/sys/smp.h


More information about the cvs-src mailing list