Re: [PATCH] sysfs: remove "last sysfs file:" line from the oopsmessages

From: Ingo Molnar
Date: Fri May 13 2011 - 03:28:37 EST



* Greg KH <greg@xxxxxxxxx> wrote:

> ---------------
> I'm going to queue this up for the .40 kernel merge window, any
> objections?
> ---------------

> --- a/arch/x86/kernel/dumpstack.c
> +++ b/arch/x86/kernel/dumpstack.c
> @@ -279,7 +279,6 @@ int __kprobes __die(const char *str, struct pt_regs *regs, long err)
> printk("DEBUG_PAGEALLOC");
> #endif
> printk("\n");
> - sysfs_printk_last_file();
> if (notify_die(DIE_OOPS, str, regs, err,
> current->thread.trap_no, SIGSEGV) == NOTIFY_STOP)
> return 1;

Good idea - that line has become quite a bit less useful over the past few
years and oops output is valuable screen real estate.

Acked-by: Ingo Molnar <mingo@xxxxxxx>

Thanks,

Ingo
--
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/