From: Catalin Marinas Date: Fri, 11 Sep 2009 09:42:09 +0000 (+0100) Subject: kmemleak: Improve the "Early log buffer exceeded" error message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=addd72c1a917091f4bb5e699e307c4c4553f6fd3;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: Catalin Marinas --- 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, struct early_log *log; if (crt_early_log >= ARRAY_SIZE(early_log)) { - pr_warning("Early log buffer exceeded\n"); + pr_warning("Early log buffer exceeded, " + "please increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE\n"); kmemleak_disable(); return; }