The patch titled Subject: arc, print-fatal-signals: reduce duplicated information has been added to the -mm tree. Its filename is arc-print-fatal-signals-reduce-duplicated-information.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Vineet Gupta <vgupta@xxxxxxxxxxxx> Subject: arc, print-fatal-signals: reduce duplicated information After the recent generic debug info on dump_stack() and friends, arc is printing duplicate information on debug dumps. [ARCLinux]$ ./crash crash/50: potentially unexpected fatal signal 11. <-- [1] /sbin/crash, TGID 50 <-- [2] Pid: 50, comm: crash Not tainted 3.9.0-rc4+ #132 <-- [3] ... Remove them. [tj@xxxxxxxxxx: updated patch desc] Signed-off-by: Vineet Gupta <vgupta@xxxxxxxxxxxx> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx> Cc: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> Cc: David S. Miller <davem@xxxxxxxxxxxxx> Cc: Fengguang Wu <fengguang.wu@xxxxxxxxx> Cc: Heiko Carstens <heiko.carstens@xxxxxxxxxx> Cc: Jesper Nilsson <jesper.nilsson@xxxxxxxx> Cc: Martin Schwidefsky <schwidefsky@xxxxxxxxxx> Cc: Mike Frysinger <vapier@xxxxxxxxxx> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/arc/kernel/troubleshoot.c | 2 +- kernel/signal.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff -puN arch/arc/kernel/troubleshoot.c~arc-print-fatal-signals-reduce-duplicated-information arch/arc/kernel/troubleshoot.c --- a/arch/arc/kernel/troubleshoot.c~arc-print-fatal-signals-reduce-duplicated-information +++ a/arch/arc/kernel/troubleshoot.c @@ -75,7 +75,7 @@ void print_task_path_n_nm(struct task_st } done: - pr_info("%s, TGID %u\n", path_nm, tsk->tgid); + pr_info("Path: %s\n", path_nm); } EXPORT_SYMBOL(print_task_path_n_nm); diff -puN kernel/signal.c~arc-print-fatal-signals-reduce-duplicated-information kernel/signal.c --- a/kernel/signal.c~arc-print-fatal-signals-reduce-duplicated-information +++ a/kernel/signal.c @@ -1161,8 +1161,7 @@ static int send_signal(int sig, struct s static void print_fatal_signal(int signr) { struct pt_regs *regs = signal_pt_regs(); - printk(KERN_INFO "%s/%d: potentially unexpected fatal signal %d.\n", - current->comm, task_pid_nr(current), signr); + printk(KERN_INFO "potentially unexpected fatal signal %d.\n", signr); #if defined(__i386__) && !defined(__arch_um__) printk(KERN_INFO "code at %08lx: ", regs->ip); _ Patches currently in -mm which might be from vgupta@xxxxxxxxxxxx are origin.patch linux-next.patch memblock-add-assertion-for-zero-allocation-alignment.patch mm-introduce-common-help-functions-to-deal-with-reserved-managed-pages.patch mm-arc-use-common-help-functions-to-free-reserved-pages.patch x86-dont-show-trace-beyond-show_stacknull-null.patch sparc32-make-show_stack-acquire-%fp-if-_ksp-is-not-specified.patch dump_stack-consolidate-dump_stack-implementations-and-unify-their-behaviors.patch dmi-morph-dmi_dump_ids-into-dmi_format_ids-which-formats-into-a-buffer.patch dump_stack-implement-arch-specific-hardware-description-in-task-dumps.patch dump_stack-unify-debug-information-printed-by-show_regs.patch arc-print-fatal-signals-reduce-duplicated-information.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html