[PATCH] - SMP fixes for i386 kdb
Jim Houston
jim.houston at ccur.com
Thu May 16 17:34:07 PDT 2002
Hi Everyone,
The attached patch is an update of my earlier patch
to fix smp problems in kdb. I started with Ethan
Solomita's patch but I have change a lot of code
since then. I have been exchanging private email with
Ethan over the last week and he has helped find some
of my bugs. Thanks again. There are always more bugs
but I think this patch has reached the useful stage.
The changes are:
- Splitting up the kdb_state variable to
decouple data used for inter-processor
synchronization from local flags.
- Avoid having an extra layer of nesting
if a processor is already in kdb when the
kdb inter-processor interrupt is delivered.
- When several processors enter kdb at the
same time treat them more as equals.
My test is to be able to switch to another
cpu and see useful state and be able to
single step. With the released code or
Ethans patch the inter-processor NMI
interrupt may interrupt the kdb entry code.
This shows up as a confusing backtrace when
you switch to another processor.
Jim Houston - Concurrent COmputer Corp.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdb-smp-jim-0516.bz2
Type: application/octet-stream
Size: 10777 bytes
Desc: not available
Url : http://oss.sgi.com/pipermail/kdb/attachments/20020516/324b07a8/attachment.obj
More information about the kdb
mailing list