git: hammer2 - optimize hammer2_pfs_memory_wakeup()
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Dec 2 11:08:41 PST 2017
commit 2118d74174f77861ae3959d7dc43a0fcf6dd9cbf
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/2118d74174f77861ae3959d7dc43a0fcf6dd9cbf
--
DragonFly BSD source repository
More information about the Commits
mailing list