Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Commit

Permalink
kernel/exit.c: quieten greatest stack depth printk
Browse files Browse the repository at this point in the history
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/[email protected]
Signed-off-by: Anton Blanchard <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
antonblanchard authored and torvalds committed Aug 2, 2016
1 parent 7e78141 commit 627393d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 627393d

Please sign in to comment.