git: DragonFly_RELEASE_5_8 kernel - Microoptimization, avoid dirtying vm_page_hash entry

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Feb 28 09:16:47 PST 2020


commit 5c364b8d5d4b935971c1aacc61f7e3594a9d4ca5
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Feb 15 11:46:32 2020 -0800

    kernel - Microoptimization, avoid dirtying vm_page_hash entry
    
    * Avoid dirtying the vm_page_hash entry unnecessarily with a
      ticks update if the existing field already has the correct value.
    
      The VM page hash has an extreme level of SMP concurrency, so
      avoiding cache coherency contention is important.

Summary of changes:
 sys/vm/vm_page.c | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5c364b8d5d4b935971c1aacc61f7e3594a9d4ca5


-- 
DragonFly BSD source repository


More information about the Commits mailing list