PERFORCE change 64282 for review

Julian Elischer julian at elischer.org
Thu Nov 4 17:42:38 PST 2004



John Baldwin wrote:

>http://perforce.freebsd.org/chv.cgi?CH=64282
>
>Change 64282 by jhb at 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:
>  
>



More information about the p4-projects mailing list