[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Owain Ainsworth <oga_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Tue, 14 Apr 2009 14:12:05 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: oga_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2009/04/14 14:12:05
Modified files:
sys/uvm : uvm.h uvm_page.c uvm_pdaemon.c uvm_vnode.c
Log message:
The use of uvm.pagedaemon_lock is incredibly inconsistent. only a
fraction of the wakeups and sleeps involved here actually grab that
lock. The remainder, on the other hand, always have the fpageq_lock
locked.
So, make this locking correct by switching the other users over to
fpageq_lock, too.
This would probably be better off being a semaphore, but for now at
least it's correct.
"ok, unless you want to implement semaphores" art@
Visit your host, monkey.org