the bitrig master branch has been updated by pedro with 1 new commit:

commit 864f73758d0f257264b2961f59e6c82b9ff4eddb
diff: https://github.com/bitrig/bitrig/commit/864f737
author: Pedro Martelletto <[email protected]>
date: Sat Mar 7 17:32:29 2015 +0100

Don't manipulate uvm.zeropages without holding uvm.fpageqlock.

In uvm_pmr_getpages(), count the number of zeroed pages encountered and
update uvm.zeropages once, at the end of the function, with the
uvm.fpageqlock mutex held. uvm_pagezero_thread() runs without the kernel
lock, and can therefore increment uvm.zeropages while a process is
decrementing it in uvm_pmr_getpages(). Note that we now do only one
wakeup() on zerothread per uvm_pmr_getpages().

OK oga@.

M       sys/uvm/uvm_pmemrange.c

Reply via email to