On Tue, Feb 12, 2008 at 04:28:46PM +0100, Ingo Molnar wrote:
Yes and the session has no fixed time limit.
Stopping with interrupts off. Nothing scheduled anymore.
An easy definition for the condition is anything that requires
touch_{nmi,softlockup}_watchdog [which kgdb definitely does,
although in a quite convoluted way]
While that is a slight risk that problem is already there anyways.
Lots of agents in the system could do that. Do you plan to stop
all DMA too for example if you're so worried about this?
Or how about SMM code changing something?
Anyways the slight risk of the other CPUs eventually recovering
would seem a acceptable trade off versus not being able to use
the debugger to debug the system with hanging CPUs.
A possible compromise between my and your position on this would
be also having an option for this, with default to off
(although I would expect that would be a inconvenient default for
many people)
-Andi (who retires from this thread now, I already spent too much on this)
--