kmemleak: Early log buffer exceeded (525980) during boot

From: Qian Cai
Date: Thu Nov 08 2018 - 16:23:25 EST


The maximum value for DEBUG_KMEMLEAK_EARLY_LOG_SIZE is only 40000, so it
disables kmemleak every time on this aarch64 server running the latest mainline
(b00d209).

# echo scan > /sys/kernel/debug/kmemleakÂ
-bash: echo: write error: Device or resource busy

Any idea on how to enable kmemleak there?