DragonFly commits List (threaded) for 2008-05
DragonFly BSD
DragonFly commits List (threaded) for 2008-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern kern_spinlock.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 5 May 2008 04:07:48 -0700 (PDT)

sephe       2008/05/05 04:07:48 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_spinlock.c 
  Log:
  Use mask instead of modulo, since bo->backoff is always power of 2
  
  Suggested-by: dillon@
  
  Revision  Changes    Path
  1.13      +2 -2      src/sys/kern/kern_spinlock.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_spinlock.c.diff?r1=1.12&r2=1.13&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]