From owner-p4-projects@FreeBSD.ORG Fri Dec 2 21:22:34 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 62E6316A422; Fri, 2 Dec 2005 21:22:34 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25A8A16A41F for ; Fri, 2 Dec 2005 21:22:34 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1CA443D58 for ; Fri, 2 Dec 2005 21:22:33 +0000 (GMT) (envelope-from jhb@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 jB2LMXKv087916 for ; Fri, 2 Dec 2005 21:22:33 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jB2LMXLl087913 for perforce@freebsd.org; Fri, 2 Dec 2005 21:22:33 GMT (envelope-from jhb@freebsd.org) Date: Fri, 2 Dec 2005 21:22:33 GMT Message-Id: <200512022122.jB2LMXLl087913@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Cc: Subject: PERFORCE change 87656 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2005 21:22:35 -0000 http://perforce.freebsd.org/chv.cgi?CH=87656 Change 87656 by jhb@jhb_slimer on 2005/12/02 21:21:58 Suggestion from Kris. Affected files ... .. //depot/projects/smpng/sys/notes#67 edit Differences ... ==== //depot/projects/smpng/sys/notes#67 (text+ko) ==== @@ -75,6 +75,10 @@ - arm, powerpc? - fork counts? - Add a cache-line padded mtx_aligned union and use it for the mutex pools. +- Add a per-thread counter of the number of sleep mutexes held (including + recursion) and panic if we try to sleep with any held to provide a cheaper + version of the current WITNESS check that doesn't bog the system down quite + as bad. Active child branches: - jhb_intr - fast ithreads and MSI? (perhaps do MSI in jhb_acpipci)