Commit 8ebc476
printk: Drop console_sem during panic
If another CPU is in panic, we are about to be halted. Try to gracefully
abandon the console_sem, leaving it free for the panic CPU to grab.
Suggested-by: Petr Mladek <[email protected]>
Signed-off-by: Stephen Brennan <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent 13fb0f7 commit 8ebc476
1 file changed
+24
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2597 | 2597 | | |
2598 | 2598 | | |
2599 | 2599 | | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
| 2613 | + | |
| 2614 | + | |
| 2615 | + | |
| 2616 | + | |
| 2617 | + | |
| 2618 | + | |
2600 | 2619 | | |
2601 | 2620 | | |
2602 | 2621 | | |
| |||
2745 | 2764 | | |
2746 | 2765 | | |
2747 | 2766 | | |
| 2767 | + | |
| 2768 | + | |
| 2769 | + | |
| 2770 | + | |
2748 | 2771 | | |
2749 | 2772 | | |
2750 | 2773 | | |
| |||
2762 | 2785 | | |
2763 | 2786 | | |
2764 | 2787 | | |
2765 | | - | |
| 2788 | + | |
2766 | 2789 | | |
2767 | 2790 | | |
2768 | 2791 | | |
| |||
0 commit comments