Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/sommerfeld_i386mp_1]: src/sys/arch/i386 Check off a few things, add a fe...



details:   https://anonhg.NetBSD.org/src/rev/62d87306eda7
branches:  sommerfeld_i386mp_1
changeset: 482406:62d87306eda7
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Sun May 27 00:16:14 2001 +0000

description:
Check off a few things, add a few more.

diffstat:

 sys/arch/i386/MP-TODO |  43 +++++++++++++++++++++++++++++++++----------
 1 files changed, 33 insertions(+), 10 deletions(-)

diffs (69 lines):

diff -r 4450c74b3328 -r 62d87306eda7 sys/arch/i386/MP-TODO
--- a/sys/arch/i386/MP-TODO     Sun May 27 00:02:18 2001 +0000
+++ b/sys/arch/i386/MP-TODO     Sun May 27 00:16:14 2001 +0000
@@ -2,11 +2,23 @@
 
 showstoppers for merge back to -current:
 
+ - change splraise/spllower to not touch local apic, since that's very
+slow (requires cheap per-cpu storage).
+
+ - per-cpu GDT and MP-safing of gdt.c.  this seems like severe
+overkill so just one descriptor is different.  While we're in there,
+we *might* want to use per-cpu, more ephemeral, descriptors for TSS
+and LDT.
+
+ - quad cpu ppro sporadically jumps into the stack; need to diagnose
+this.
+
+ - implement per cpu ring buffer with trap logs (including the "last
+branch from/to" MSR contents) to allow for sane debugging.
+
  - rewrite interrupt dispatch so that multi-level shared interrupts
    are no longer broken.
 
- - implement MI softint API
-
  - figure out why ahc on serverworks fails to find its interrupt.
 
  - careful code review of all diffs from -current
@@ -23,16 +35,10 @@
 
  - make sure BSP always attaches first!
 
- - stop all cpu's on shutdown.
-
  - try out mpbios+ioapic w/o MULTIPROCESSOR
 
- - figure out why cpu time accounting screws up bigtime:
-
-> ld -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} vers.o
-> text    data    bss     dec     hex     filename
-> 3839853 369428  322400  4531681 4525e1  netbsd
-> -1787494046.7u 681459032.2s 7:26.71 2421928.1% 0+0k 17+11379io 99pf+0w
+ - turn off rdtsc-based microtime on uniprocessor systems which might
+have variable-speed TSC.
 
 -----
 
@@ -50,3 +56,20 @@
    information to struct cpu_info
 [2001/01/09  22:27:38  sommerfeld]
 completed.  significant rewrite of cpu spinup required.
+
+ - stop all cpu's on shutdown.
+
+ - implement MI softint API
+
+ - implement MP-safe microtime
+
+ - figure out why cpu time accounting screws up bigtime:
+
+> ld -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} vers.o
+> text    data    bss     dec     hex     filename
+> 3839853 369428  322400  4531681 4525e1  netbsd
+> -1787494046.7u 681459032.2s 7:26.71 2421928.1% 0+0k 17+11379io 99pf+0w
+
+[2001/05/26  20:03:41  sommerfeld]
+answer: microtime was just doing the wrong thing.  fixed.
+



Home | Main Index | Thread Index | Old Index