Re: [PATCH v5 2/4] mm: Provide kernel parameter to allow disabling page init poisoning
From: Dave Hansen
Date: Tue Sep 25 2018 - 16:27:45 EST
On 09/25/2018 01:20 PM, Alexander Duyck wrote:
> + vm_debug[=options] [KNL] Available with CONFIG_DEBUG_VM=y.
> + May slow down system boot speed, especially when
> + enabled on systems with a large amount of memory.
> + All options are enabled by default, and this
> + interface is meant to allow for selectively
> + enabling or disabling specific virtual memory
> + debugging features.
> +
> + Available options are:
> + P Enable page structure init time poisoning
> + - Disable all of the above options
Can we have vm_debug=off for turning things off, please? That seems to
be pretty standard.
Also, we need to document the defaults. I think the default is "all
debug options are enabled", but it would be nice to document that.