git: DragonFly_RELEASE_5_0 hammer2 - optimize hammer2_pfs_memory_wakeup()

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Dec 2 11:09:28 PST 2017


commit c49a4de501181d491b509ef17733d8a65511487a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Dec 2 11:05:58 2017 -0800

    hammer2 - optimize hammer2_pfs_memory_wakeup()
    
    * Optimize hammer2_pfs_memory_wakeup() to use fetchadd instead of
      cmpset, reducing contention.

Summary of changes:
 sys/vfs/hammer2/hammer2_vfsops.c | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list