git: tmpfs - Conditionalize atomic adds on mount structure

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Sep 30 11:07:49 PDT 2017


commit eae96dbbc9d50a028e454de7f11704bd923b693c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Sep 30 11:06:49 2017 -0700

    tmpfs - Conditionalize atomic adds on mount structure
    
    * Conditionalize tracking of the total pages allocated to avoid
      the atomic op when the delta change is 0.
    
    Suggested-by: mjg_

Summary of changes:
 sys/vfs/tmpfs/tmpfs_subr.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list