Download raw body.
[PATCH] convert mpl ticket lock to anderson's lock
> Per that post, the primary problem concerns page allocation and the > way mutexes are implemented While looking at things in the pagedaemon, I've become concerned about how uvm_lock_pageq() is used Look at how uvm_pageactivate() and uvm_pagedeactivate() must be called unlocked So locked-callers unlock temporarily to call them, resulting in very strange unlock/lock/tiny-operation/unlock/lock sequences. Without the locks the tiny-operation would be instantenous but this design means there is a tremendous bubble if someone else wanted the lock. I think these low-level changes in locking and mutexes will have little effect if we are using them extremely poorly, which we are.
[PATCH] convert mpl ticket lock to anderson's lock