git: kernel - Comment future vrele() code intention

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Mar 2 17:29:12 PST 2020


commit 6b608642e365f91f442a8606a2eb0a6e8f400fb6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Feb 28 22:25:35 2020 -0800

    kernel - Comment future vrele() code intention
    
    * vrele() currently uses atomic_fcmpset_*() and will in the future
      use atomic_fetchadd_*() instead, but I can't change it without a
      bit more work.
    
    * Avoid updating v_flag and v_act if the values do not change, reducing
      SMP contention a bit.

Summary of changes:
 sys/kern/vfs_lock.c | 47 ++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 42 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6b608642e365f91f442a8606a2eb0a6e8f400fb6


-- 
DragonFly BSD source repository



More information about the Commits mailing list