From owner-cvs-all@FreeBSD.ORG Sat Feb 11 19:55:19 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80A2216A422; Sat, 11 Feb 2006 19:55:19 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D70D43D45; Sat, 11 Feb 2006 19:55:19 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k1BJtJfX087641; Sat, 11 Feb 2006 19:55:19 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1BJtJB8087640; Sat, 11 Feb 2006 19:55:19 GMT (envelope-from marcel) Message-Id: <200602111955.k1BJtJB8087640@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 11 Feb 2006 19:55:19 +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/ia64/ia64 mp_machdep.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: Sat, 11 Feb 2006 19:55:19 -0000 marcel 2006-02-11 19:55:19 UTC FreeBSD src repository Modified files: sys/ia64/ia64 mp_machdep.c Log: Correct the spinlock nesting of the idle thread of the APs before we save the MCA state of the AP. Saving the MCA state of the AP requires us to allocate memory, which uses sleep locks. Now that we correct the spinlock nesting of the AP without having schedlock, avoid calling spinlock_exit(). Instead call critical_exit() and manually clear the MD spinlock count. MFC after: 3 days Revision Changes Path 1.60 +10 -12 src/sys/ia64/ia64/mp_machdep.c