From owner-cvs-all@FreeBSD.ORG Tue May 29 18:55:42 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F09EB16A468; Tue, 29 May 2007 18:55:42 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E1B2D13C4C1; Tue, 29 May 2007 18:55:42 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4TItgMR010238; Tue, 29 May 2007 18:55:42 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4TItg24010226; Tue, 29 May 2007 18:55:42 GMT (envelope-from attilio) Message-Id: <200705291855.l4TItg24010226@repoman.freebsd.org> From: Attilio Rao Date: Tue, 29 May 2007 18:55:41 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/i386 machdep.c sys_machdep.c vm_machdep.c src/sys/kern subr_witness.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 18:55:43 -0000 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