Commit 627393d4 authored by Anton Blanchard's avatar Anton Blanchard Committed by Linus Torvalds

kernel/exit.c: quieten greatest stack depth printk

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.orgSigned-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7e781418
...@@ -715,7 +715,7 @@ static void check_stack_usage(void) ...@@ -715,7 +715,7 @@ static void check_stack_usage(void)
spin_lock(&low_water_lock); spin_lock(&low_water_lock);
if (free < lowest_to_date) { 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); current->comm, task_pid_nr(current), free);
lowest_to_date = free; lowest_to_date = free;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment