Re: [PATCH] sysrq show-all-cpus

From: Rik van Riel
Date: Tue Mar 11 2008 - 10:09:34 EST


On Tue, 11 Mar 2008 03:18:24 -0400
Jon Masters <jonathan@xxxxxxxxxxxxxx> wrote:

> On Mon, 2008-03-10 at 14:03 -0400, Rik van Riel wrote:
> > SysRQ-P is not always useful on SMP systems, since it usually ends up showing the
> > backtrace of a CPU that is doing just fine, instead of the backtrace of the CPU
> > that is having problems.
> >
> > This patch adds SysRQ show-all-cpus(L), which shows the backtrace of every active
> > CPU in the system. It skips idle CPUs because some SMP systems are just too large
> > and we already know what the backtrace of the idle task looks like.
> >
> > Signed-off-by: Rik van Riel <riel@xxxxxxxxxx>
>
> Why not have it just print the local CPU on non-SMP anyway?

Sysrq p already does exactly that.

--
All rights reversed.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/