From owner-p4-projects@FreeBSD.ORG Fri Nov 5 00:43:21 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id AFB1E16A4D1; Fri, 5 Nov 2004 00:43:20 +0000 (GMT) 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 83C6516A4CE for ; Fri, 5 Nov 2004 00:43:20 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75DD443D54 for ; Fri, 5 Nov 2004 00:43:20 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iA50hKrm046468 for ; Fri, 5 Nov 2004 00:43:20 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iA50hKYW046464 for perforce@freebsd.org; Fri, 5 Nov 2004 00:43:20 GMT (envelope-from jhb@freebsd.org) Date: Fri, 5 Nov 2004 00:43:20 GMT Message-Id: <200411050043.iA50hKYW046464@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 Subject: PERFORCE change 64282 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 00:43:21 -0000 http://perforce.freebsd.org/chv.cgi?CH=64282 Change 64282 by jhb@jhb_slimer on 2004/11/05 00:42:44 Update. Affected files ... .. //depot/projects/smpng/sys/notes#23 edit Differences ... ==== //depot/projects/smpng/sys/notes#23 (text+ko) ==== @@ -54,15 +54,11 @@ - Optimize spin locks on UP such that they don't do atomic operations - Untested - Unbenchmarked -- Add support for disabling CPUs on x86 via APIC ID (hint.lapic.X.disabled) - - need to separate mp_ncpus a bit, maybe mp_ncpus stays as count of - present CPUs, but a separate mp_activecpus is count of CPUs actually in - use. Hmm, CPUs really should just not show up when they are disabled - maybe, but that means fudging with mp_ncpus. - Fix boot_cpu_id to be a logical FreeBSD cpuid that is the BSP on all archs - Maybe hardcode FreeBSD cpuid 0 as BSP instead - Change alpha to use logical FreeBSD cpuid's rather than mapping 1:1 to physical IDs -- Revert bde's changes to the interrupt storm code. +- Split critical sections from spinlocks some, create spinlock_enter/exit() + MD API to replace cpu_critical_*. Space reserved for child branches: