From owner-p4-projects@FreeBSD.ORG Fri Nov 5 01:42:38 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 965C516A4D0; Fri, 5 Nov 2004 01:42:37 +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 531DA16A4CE; Fri, 5 Nov 2004 01:42:37 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3200E43D2F; Fri, 5 Nov 2004 01:42:36 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id D994E7A424; Thu, 4 Nov 2004 17:42:35 -0800 (PST) Message-ID: <418ADA8B.6070809@elischer.org> Date: Thu, 04 Nov 2004 17:42:35 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: John Baldwin References: <200411050043.iA50hKYW046464@repoman.freebsd.org> In-Reply-To: <200411050043.iA50hKYW046464@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Perforce Change Reviews Subject: Re: 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 01:42:38 -0000 John Baldwin wrote: >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 > Is this a "done" list or a "to do" list? Either way, I'm glad to see this because I've been pushing for it for a while.. also means '386' machines could be compiled as they wouldn't require all teh extra atomic stuff. > - 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: > >