Re: [PATCH 0/2] [RFC] RT: Optionally allow IRQF_NODELAY on serial console
- From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
- Date: Fri, 5 Oct 2007 18:41:59 +0200 (CEST)
On Fri, 5 Oct 2007, Gregory Haskins wrote:
This series may help debugging certain circumstances where the serial
console is unreponsive (e.g. RT51+ spinner, or scheduler problem). It changes
the serial8250 driver to use IRQF_NODELAY so that interrupts execute in irq
context instead of a kthread.
It works pretty well on this end, though it is admitted not fully baked. For
instance, a few paths in sysrq can still call into non-raw spinlocks
(sched_debug_show, for instance) which will cause subsequent errors. Also,
if you use KDB, be sure to convert the kdb_printf_lock to raw as well. I may
send a KDB related patch seperately.
I am sending this out now in case it is helpful to someone.
The simple non-patch solution is to up the priority of the serial
console irq to maximum. That's usually sufficient to catch runnaway tasks
etc. It does not interfere with the system in normal operation as long as
you do not hit keys in your minicom.
I doubt that your patch has a chance to survive lockdep and anything which
is not a sysrq.
tglx
-
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/
- Follow-Ups:
- Re: [PATCH 0/2] [RFC] RT: Optionally allow IRQF_NODELAY on serial console
- From: Steven Rostedt
- Re: [PATCH 0/2] [RFC] RT: Optionally allow IRQF_NODELAY on serial console
- From: Gregory Haskins
- Re: [PATCH 0/2] [RFC] RT: Optionally allow IRQF_NODELAY on serial console
- References:
- [PATCH 0/2] [RFC] RT: Optionally allow IRQF_NODELAY on serial console
- From: Gregory Haskins
- [PATCH 0/2] [RFC] RT: Optionally allow IRQF_NODELAY on serial console
- Prev by Date: Re: e1000e oops, sysfs related?
- Next by Date: Re: race with page_referenced_one->ptep_test_and_clear_young and pagetable setup/pulldown
- Previous by thread: [PATCH 1/2] SERIAL_CONSOLE: Clean up some of the IO routines to support locked and unlocked variants
- Next by thread: Re: [PATCH 0/2] [RFC] RT: Optionally allow IRQF_NODELAY on serial console
- Index(es):
Relevant Pages
|