Re: [PATCH V2] kmemleak: Add config to select auto scan

From: Catalin Marinas
Date: Mon Oct 29 2018 - 06:43:27 EST

On Mon, Oct 22, 2018 at 11:38:43PM +0530, Prateek Patel wrote:
> From: Sri Krishna chowdary <schowdary@xxxxxxxxxx>
> 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>

Looks fine to me.

Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx>