Re: [PATCH v2 1/2] mm: Move page struct poisoning to CONFIG_DEBUG_VM_PAGE_INIT_POISON

From: Dave Hansen
Date: Thu Sep 06 2018 - 10:59:10 EST


On 09/05/2018 10:47 PM, Michal Hocko wrote:
> why do you have to keep DEBUG_VM enabled for workloads where the boot
> time matters so much that few seconds matter?

There are a number of distributions that run with it enabled in the
default build. Fedora, for one. We've basically assumed for a while
that we have to live with it in production environments.

So, where does leave us? I think we either need a _generic_ debug
option like:

CONFIG_DEBUG_VM_SLOW_AS_HECK

under which we can put this an other really slow VM debugging. Or, we
need some kind of boot-time parameter to trigger the extra checking
instead of a new CONFIG option.