cvs commit: src/sys/kern kern_descrip.c kern_lockf.c src/sys/sys vnode.h

Matthew Dillon dillon at crater.dragonflybsd.org
Fri May 26 19:00:02 PDT 2006


dillon      2006/05/26 18:57:43 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_descrip.c kern_lockf.c 
    sys/sys              vnode.h 
  Log:
  Greatly reduce the MP locking that occurs in closef(), and remove
  unnecessary VOP_ADVLOCK calls in both closef() and fdrop() by adding
  a new vnode flag, VMAYHAVELOCKS, that we can check before doing the
  VOP_ADVLOCK mess.
  
  Revision  Changes    Path
  1.66      +13 -13    src/sys/kern/kern_descrip.c
  1.30      +1 -0      src/sys/kern/kern_lockf.c
  1.57      +1 -1      src/sys/sys/vnode.h


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_descrip.c.diff?r1=1.65&r2=1.66&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_lockf.c.diff?r1=1.29&r2=1.30&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/vnode.h.diff?r1=1.56&r2=1.57&f=u





More information about the Commits mailing list