Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1431634

[PATCH 1/2] exit: Quieten greatest stack depth printk

From Anton Blanchard <anton@ozlabs.org>
Newsgroups linux.kernel
Subject [PATCH 1/2] exit: Quieten greatest stack depth printk
Date 2016-06-27 01:10 +0200
Message-ID <rOrlD-Ek-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Anton Blanchard <anton@samba.org>

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().

Signed-off-by: Anton Blanchard <anton@samba.org>
---
 kernel/exit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/exit.c b/kernel/exit.c
index 9e6e135..bbdef62 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -639,7 +639,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;
 	}
-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] exit: Quieten greatest stack depth printk Anton Blanchard <anton@ozlabs.org> - 2016-06-27 01:10 +0200
  [PATCH 2/2] mm: workingset: printk missing log level, use pr_info() Anton Blanchard <anton@ozlabs.org> - 2016-06-27 01:10 +0200
    Re: [PATCH 2/2] mm: workingset: printk missing log level, use  pr_info() Joe Perches <joe@perches.com> - 2016-06-27 06:10 +0200
    Re: [PATCH 2/2] mm: workingset: printk missing log level, use  pr_info() Johannes Weiner <hannes@cmpxchg.org> - 2016-07-06 16:00 +0200

csiph-web