git: kmalloc: Reduce ks_loosememuse update frequency.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Jun 29 21:06:08 PDT 2017


commit 07de42e8157a812dcfae0be82d88b30015c369e1
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Jun 30 03:39:32 2017 +0800

    kmalloc: Reduce ks_loosememuse update frequency.
    
    ks_loosememuse is shared by all CPUs, so this commit is intended to
    reduce negative effect of cache pollution due to high ks_loosememuse
    update frequency.

Summary of changes:
 sys/kern/kern_slaballoc.c | 15 +++++++++++----
 sys/sys/malloc.h          |  9 ++++++++-
 2 files changed, 19 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/07de42e8157a812dcfae0be82d88b30015c369e1


-- 
DragonFly BSD source repository



More information about the Commits mailing list