Re: [PATCH] kmemleak: Always register debugfs file

2018-08-24 Thread Catalin Marinas
On Fri, Aug 24, 2018 at 03:12:20PM +0200, Vincent Whitchurch wrote: > If kmemleak built in to the kernel, but is disabled by default, the > debugfs file is never registered. Because of this, it is not possible > to find out if the kernel is built with kmemleak support by checking for > the presenc

[PATCH] kmemleak: Always register debugfs file

2018-08-24 Thread Vincent Whitchurch
If kmemleak built in to the kernel, but is disabled by default, the debugfs file is never registered. Because of this, it is not possible to find out if the kernel is built with kmemleak support by checking for the presence of this file. To allow this, always register the file. After this patch,