aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2009-09-11 05:42:09 -0400
committerCatalin Marinas <catalin.marinas@arm.com>2009-09-11 05:42:09 -0400
commitaddd72c1a917091f4bb5e699e307c4c4553f6fd3 (patch)
tree76fe15bdf2d2e3fdfa2f3dbd64dfda71fc0e1e2e
parent7eb0d5e5be4e312d5368896744476cc705b3d7e7 (diff)
kmemleak: Improve the "Early log buffer exceeded" error message
Based on a suggestion from Jaswinder, clarify what the user would need to do to avoid this error message from kmemleak. Reported-by: Jaswinder Singh Rajput <jaswinder@kernel.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r--mm/kmemleak.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/kmemleak.c b/mm/kmemleak.c
index 39da954b5059..4ea4510e2996 100644
--- a/mm/kmemleak.c
+++ b/mm/kmemleak.c
@@ -792,7 +792,8 @@ static void __init log_early(int op_type, const void *ptr, size_t size,
792 struct early_log *log; 792 struct early_log *log;
793 793
794 if (crt_early_log >= ARRAY_SIZE(early_log)) { 794 if (crt_early_log >= ARRAY_SIZE(early_log)) {
795 pr_warning("Early log buffer exceeded\n"); 795 pr_warning("Early log buffer exceeded, "
796 "please increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE\n");
796 kmemleak_disable(); 797 kmemleak_disable();
797 return; 798 return;
798 } 799 }