The patch titled Subject: panic-add-an-option-to-replay-all-the-printk-message-in-buffer-v5 has been removed from the -mm tree. Its filename was panic-add-an-option-to-replay-all-the-printk-message-in-buffer-v5.patch This patch was dropped because it was folded into panic-add-an-option-to-replay-all-the-printk-message-in-buffer.patch ------------------------------------------------------ From: Feng Tang <feng.tang@xxxxxxxxx> Subject: panic-add-an-option-to-replay-all-the-printk-message-in-buffer-v5 Use logbuf lock to protect the console log index changing, suggested by Petr Mladek. Link: http://lkml.kernel.org/r/1556269868-22654-1-git-send-email-feng.tang@xxxxxxxxx Signed-off-by: Feng Tang <feng.tang@xxxxxxxxx> Reviewed-by: Petr Mladek <pmladek@xxxxxxxx> Cc: Aaro Koskinen <aaro.koskinen@xxxxxxxxx> Cc: Petr Mladek <pmladek@xxxxxxxx> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx> Cc: Sergey Senozhatsky <sergey.senozhatsky.work@xxxxxxxxx> Cc: Kees Cook <keescook@xxxxxxxxxxxx> Cc: Borislav Petkov <bp@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/printk/printk.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/kernel/printk/printk.c~panic-add-an-option-to-replay-all-the-printk-message-in-buffer-v5 +++ a/kernel/printk/printk.c @@ -2552,8 +2552,12 @@ void console_flush_on_panic(enum con_flu console_may_schedule = 0; if (mode == CONSOLE_REPLAY_ALL) { + unsigned long flags; + + logbuf_lock_irqsave(flags); console_seq = log_first_seq; console_idx = log_first_idx; + logbuf_unlock_irqrestore(flags); } console_unlock(); } _ Patches currently in -mm which might be from feng.tang@xxxxxxxxx are panic-add-an-option-to-replay-all-the-printk-message-in-buffer.patch