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

From: Prateek Patel
Date: Wed Dec 12 2018 - 01:44:51 EST

Hi Catalin,

Can you mark this patch as acknowledged so that it can be picked up by the maintainer.

Adding Andrew.


On 10/29/2018 4:13 PM, Catalin Marinas wrote:
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>