On Mon, Oct 22, 2018 at 11:38:43PM +0530, Prateek Patel wrote:
From: Sri Krishna chowdary <schowdary@xxxxxxxxxx>Looks fine to me.
Kmemleak scan can be cpu intensive and can stall user tasks at times.
To prevent this, add config DEBUG_KMEMLEAK_AUTO_SCAN to enable/disable
auto scan on boot up.
Also protect first_run with DEBUG_KMEMLEAK_AUTO_SCAN as this is meant
for only first automatic scan.
Signed-off-by: Sri Krishna chowdary <schowdary@xxxxxxxxxx>
Signed-off-by: Sachin Nikam <snikam@xxxxxxxxxx>
Signed-off-by: Prateek <prpatel@xxxxxxxxxx>
Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx>