Subject: [merged] panic-add-cpu-pid-to-warn_slowpath_common-in-warning-printks.patch removed from -mm tree To: athorlton@xxxxxxx,holt@xxxxxxx,markivx@xxxxxxxxxxxxxx,rusty@xxxxxxxxxxxxxxx,sboyd@xxxxxxxxxxxxxx,tj@xxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Tue, 09 Jul 2013 16:20:55 -0700 The patch titled Subject: panic: add cpu/pid to warn_slowpath_common in WARNING printk()s has been removed from the -mm tree. Its filename was panic-add-cpu-pid-to-warn_slowpath_common-in-warning-printks.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Alex Thorlton <athorlton@xxxxxxx> Subject: panic: add cpu/pid to warn_slowpath_common in WARNING printk()s Add the cpu/pid that called WARN() so that the stack traces can be matched up with the WARNING messages. [akpm@xxxxxxxxxxxxxxxxxxxx: remove stray quote] Signed-off-by: Alex Thorlton <athorlton@xxxxxxx> Reviewed-by: Robin Holt <holt@xxxxxxx> Cc: Stephen Boyd <sboyd@xxxxxxxxxxxxxx> Cc: Vikram Mulukutla <markivx@xxxxxxxxxxxxxx> Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx> Cc: Tejun Heo <tj@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/panic.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -puN kernel/panic.c~panic-add-cpu-pid-to-warn_slowpath_common-in-warning-printks kernel/panic.c --- a/kernel/panic.c~panic-add-cpu-pid-to-warn_slowpath_common-in-warning-printks +++ a/kernel/panic.c @@ -399,8 +399,9 @@ struct slowpath_args { static void warn_slowpath_common(const char *file, int line, void *caller, unsigned taint, struct slowpath_args *args) { - printk(KERN_WARNING "------------[ cut here ]------------\n"); - printk(KERN_WARNING "WARNING: at %s:%d %pS()\n", file, line, caller); + pr_warn("------------[ cut here ]------------\n"); + pr_warn("WARNING: CPU: %d PID: %d at %s:%d %pS()\n", + raw_smp_processor_id(), current->pid, file, line, caller); if (args) vprintk(args->fmt, args->args); _ Patches currently in -mm which might be from athorlton@xxxxxxx are origin.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