RFC improve printk reliability
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest7 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | arch, early_printk: Consolidate early_printk() implementationsarch/ arch/ arch/ +12 more | +76 | 3 replies | |
| 2/7 | lockdep: Provide early_printk() supportkernel/ | +252 | 0 replies | |
| 3/7 | printk, lockdep: Remove lockdep_off() usagekernel/ | +0 | 0 replies | |
| 4/7 | printk: Rework printk recursionkernel/ | +41 | 0 replies | |
| 5/7 | semaphore: Pull wakeup out from under sem->lockkernel/ | +25 | 0 replies | |
| 6/7 | printk: Poke printk extra hardinclude/ init/ kernel/ +1 more | +33 | 7 replies | |
| 7/7 | serial, 8250: Mostly avoid wakeups from under port->lockdrivers/ | +50 | 4 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Mike Frysinger | David S. Miller |
|---|---|---|
| 1/7 | A-b | A-b |
| 2/7 | ||
| 3/7 | ||
| 4/7 | ||
| 5/7 | ||
| 6/7 | ||
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC][PATCH 0/7] improve printk reliability
Hi,
So these are my current efforts to make my own console output more reliable. I've hit every deadlock described in this series and a few more.
With these patches applied I can printk() and WARN() from inside scheduler context and not have my machine deadlock, even without the aid of early_printk().
While I'll go an remove the sole printk() I found in the scheduler so that we don't have to rely on the console doing this, it is good to have a reliable console that can do this.
As it stands some of the patches, the semaphore one in particular, are really too ugly to live so I won't push those but wanted to share anyway.
Debugging this was 'fun', and I really hope to not have to do it again :-)