git: kernel - Microoptimization, avoid dirtying vm_page_hash entry
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Feb 15 11:48:36 PST 2020
commit 9ba65fc38532a1a48c6048cccc6858fc247beba0
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/9ba65fc38532a1a48c6048cccc6858fc247beba0
--
DragonFly BSD source repository
More information about the Commits
mailing list