kernel/exit.c: quieten greatest stack depth printk
authorAnton Blanchard <anton@samba.org>
Tue, 2 Aug 2016 21:05:40 +0000 (14:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Aug 2016 23:35:23 +0000 (19:35 -0400)
Many targets enable CONFIG_DEBUG_STACK_USAGE, and while the information
is useful, it isn't worthy of pr_warn().  Reduce it to pr_info().

Link: http://lkml.kernel.org/r/1466982072-29836-1-git-send-email-anton@ozlabs.org
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/exit.c

index 84ae830234f8fea6328690ebf977a7063aa91097..2f974ae042a677a90c7d34a78b66793cbe8584c5 100644 (file)
@@ -715,7 +715,7 @@ static void check_stack_usage(void)
 
        spin_lock(&low_water_lock);
        if (free < lowest_to_date) {
-               pr_warn("%s (%d) used greatest stack depth: %lu bytes left\n",
+               pr_info("%s (%d) used greatest stack depth: %lu bytes left\n",
                        current->comm, task_pid_nr(current), free);
                lowest_to_date = free;
        }