Commit addd72c1a917091f4bb5e699e307c4c4553f6fd3
1 parent
7eb0d5e5be
Exists in
master
and in
20 other branches
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>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
mm/kmemleak.c
... | ... | @@ -792,7 +792,8 @@ |
792 | 792 | struct early_log *log; |
793 | 793 | |
794 | 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 | 797 | kmemleak_disable(); |
797 | 798 | return; |
798 | 799 | } |