commit f8ec4d29c88b01f50b7903f90db6135b8b5ff1c2
Author: Matthew Dillon <[email protected]>
Date:   Sat Feb 15 11:44:57 2020 -0800

    kernel - Micro-optimization, only set v_lastwrite_ts for regular files
    
    * When mmap()ing a file SHARED/RW, only update v_lastwrite_ts
      for regular files.   This avoids an unnecessary exclusive lock
      and related SMP contention on devices (such as /dev/lpmap).

Summary of changes:
 sys/vm/vm_mmap.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository

Reply via email to