From 3f1652ed0c8402a8cd478af9b4e77cb72db25ec1 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Mon, 18 Mar 2002 16:22:42 +0000 Subject: [PATCH] Various task updates relating to VM locking task: - Break out lockmgr exclusive and sx/mutex tasks from one another, and leave the original (completed) movement of mutex pool initialization task as it's own thing. - Create the task for moving to purely exclusive locks in VM rather than lockmgr shared locks. This task will involve implementation, then testing to see if it actually hurts. If this is possible, it will greatly simplify the transition to new locking primitives. Assign this to green since he's expressed willingness to work on it. - Create the task for moving from lockmgr to either mutexes or exclusive sxlocks for VM. At that point, it should be possible to start pushing Giant down into VM somewhere, subject to lack of locking for a few primitives that will still require it, and for VFS/pmap interactions. --- en/smp/index.sgml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/en/smp/index.sgml b/en/smp/index.sgml index c36cab5f8c..99eaf0fdf0 100644 --- a/en/smp/index.sgml +++ b/en/smp/index.sgml @@ -1,6 +1,6 @@ - + %includes; @@ -639,9 +639,7 @@ Initialize mutex pools early enough that sx locks can be used - for VM; simplify locking logic in VM to avoid suspect activities - such as lock testing and recursion, and convert vm_map locks to sx - locks from lockmgr locks. + for VM. &a.green; 14 March 2002 &status.done; @@ -1080,10 +1078,20 @@ Replace complex shared/exclusive locking scheme in the VM - system with a purely exclusive locking scheme, simplifying locking - and removing potential livelock/deadlock scenarios. -   - 17 March 2002 + system with a purely exclusive lockmgr locking scheme, simplifying + locking and removing potential livelock/deadlock scenarios. + &a.green; + 18 March 2002 + &status.new; + + + + Switch from using lockmgr in VM to using a mutex or exclusive + sxlock. Push down Giant on all VM except for vm_object/VFS and + vm_page/pmap components. + &a.green; + 18 March 2002 + &status.new;