git: VFS accounting: small speed optimization

Francois Tigeot ftigeot at crater.dragonflybsd.org
Thu Mar 29 23:48:31 PDT 2012


commit d4eea8cb1addde189e3a7e54d0962eecfeea7153
Author: Francois Tigeot <ftigeot at wolfpond.org>
Date:   Wed Mar 28 13:52:36 2012 +0200

    VFS accounting: small speed optimization
    
    * Some operations may end up using the accounting macro with an
      effective zero bytes space usage difference
    
    * Avoid calling the whole mess and its associated mount-point spinlock
      in that case.

Summary of changes:
 sys/sys/mount.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d4eea8cb1addde189e3a7e54d0962eecfeea7153


-- 
DragonFly BSD source repository





More information about the Commits mailing list