Re: [PATCH 1/1] mm/slub.c: add a naive detection of double free or corruption

From: Christopher Lameter
Date: Tue Jul 18 2017 - 10:57:51 EST


On Mon, 17 Jul 2017, Alexander Popov wrote:

> Christopher, if I change BUG_ON() to VM_BUG_ON(), it will be disabled by default
> again, right?

It will be enabled if the distro ships with VM debugging on by default.