git: kernel - kmemstatistics list wasn't MPSAFE
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Jan 17 14:55:10 PST 2017
commit 1cc73057b2d7affae9eab696a8e16b0c843b6065
Author: Matthew Dillon <dillon at apollo.backplane.com>
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
More information about the Commits
mailing list