lkml.org 
[lkml]   [2011]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sysfs: remove "last sysfs file:" line from the oops messages

* Greg KH <greg@kroah.com> 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@elte.hu>

Thanks,

Ingo


\
 
 \ /
  Last update: 2011-05-13 09:31    [from the cache]
©2003-2011 Jasper Spaans