Attilio Rao 02b0a160dc Fix some problems introduced with the last descriptors tables locking
patch:
- Do the correct test for ldt allocation
- Drop dt_lock just before to call kmem_free (since it acquires blocking
  locks inside)
- Solve a deadlock with smp_rendezvous() where other CPU will wait
  undefinitively for dt_lock acquisition.
- Add dt_lock in the WITNESS list of spinlocks

While applying these modifies, change the requirement for user_ldt_free()
making that returning without dt_lock held.

Tested by: marcus, tegge
Reviewed by: tegge
Approved by: jeff (mentor)
2007-05-29 18:55:41 +00:00
..
2007-05-18 21:10:08 +00:00
2007-04-23 12:53:00 +00:00
2007-05-23 17:28:21 +00:00
2007-05-01 06:35:54 +00:00
2007-05-23 13:36:02 +00:00
2007-03-05 13:10:58 +00:00