CVSROOT:        /cvs
Module name:    src
Changes by:     o...@cvs.openbsd.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@

Reply via email to