commit 1cc73057b2d7affae9eab696a8e16b0c843b6065
Author: Matthew Dillon <[email protected]>
Date:   Tue Jan 17 14:52:22 2017 -0800

    kernel - kmemstatistics list wasn't MPSAFE
    
    * Put a spinlock around the kmemstatistics list.  This list is modified
      whenever a kmalloc area is created or destroyed, and this generally does
      not happen concurrently except with kernels run by expert hackers like
      us and get scared.
    
    * ...Or if a machine is running synth and/or doing a lot of concurrent
      tmpfs mounts and unmounts.
    
    Reported-by: swildner

Summary of changes:
 sys/kern/kern_slaballoc.c | 7 +++++++
 1 file changed, 7 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1cc73057b2d7affae9eab696a8e16b0c843b6065


-- 
DragonFly BSD source repository

Reply via email to