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>
This commit is contained in:
parent
7eb0d5e5be
commit
addd72c1a9
1 changed files with 2 additions and 1 deletions
|
@ -792,7 +792,8 @@ static void __init log_early(int op_type, const void *ptr, size_t size,
|
||||||
struct early_log *log;
|
struct early_log *log;
|
||||||
|
|
||||||
if (crt_early_log >= ARRAY_SIZE(early_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();
|
kmemleak_disable();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue