Messages in this thread | | | Date | Wed, 12 May 2004 12:10:13 -0700 | From | "David S. Miller" <> | Subject | Re: Why pass pt_regs throughout the input system? |
| |
On Wed, 12 May 2004 11:50:26 -0700 (PDT) Dmitry Torokhov <dtor_core@ameritech.net> wrote:
> As far as multiple keyboards issue going - SysRq is a debug tool and > I relly do not see you hitting SysRq on the two keyboards at the very > same time to mess up the call traces.
Maybe to get two backtraces on two different cpus? Be creative :-)
> Anyway, my "problem" is the following: SysRq register dump and call > trace require keyboard.c event handler to be caled from hard interrupt > context which is not always feasible.
USB handles this fine, and I seem to remember it does use tasklets. You can save the pt_regs value at hardware interrupt and pass that in during the tasklet run perhaps? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |