Re: [RFC] Changing SysRq - show registers handling

From: Andrew Morton
Date: Thu Jun 03 2004 - 02:42:40 EST


Dmitry Torokhov <dtor_core@xxxxxxxxxxxxx> wrote:
>
> > Well bear in mind that we can then rip all the pt_regs passing out from
> > everywhere, so as long as you edit every IRQ handler in the kernel it's a
> > net win ;)
>
> Will you let me? :) USB and serio will at least not mess anyone else...

There are only 1300 of them. Could do it in three hours. Don't tempt me ;)

> >
> > I _think_ it'll work - as long as all architectures go through a common
> > dispatch function like do_IRQ(), which surely they do. The above code
> > could be an arch-neutral inline actually.
> >
> > I'm not sure what's best really. But something this general is more
> > attractive than something which is purely for sysrs-T.
> >
>
> I don't like the requirement of SysRq request processing being in hard
> interrupt handler - that excludes uinput-generated events and precludes
> moving keyboard handling to a tasklet for example.

Ho hum. May as well run with your original idea I guess.
-
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/