Date: Tue, 29 May 2007 18:55:41 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 machdep.c sys_machdep.c vm_machdep.c src/sys/kern subr_witness.c Message-ID: <200705291855.l4TItg24010226@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2007-05-29 18:55:41 UTC
FreeBSD src repository
Modified files:
sys/i386/i386 machdep.c sys_machdep.c vm_machdep.c
sys/kern subr_witness.c
Log:
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)
Revision Changes Path
1.653 +2 -1 src/sys/i386/i386/machdep.c
1.110 +15 -3 src/sys/i386/i386/sys_machdep.c
1.281 +4 -4 src/sys/i386/i386/vm_machdep.c
1.232 +1 -0 src/sys/kern/subr_witness.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705291855.l4TItg24010226>
