Re: [PATCH v2 1/1] Docs/mm/allocation-profiling: describe sysctrl limitations in debug mode

From: Andrew Morton

Date: Fri Jan 16 2026 - 15:45:51 EST


On Fri, 16 Jan 2026 10:44:23 -0800 Suren Baghdasaryan <surenb@xxxxxxxxxx> wrote:

> When CONFIG_MEM_ALLOC_PROFILING_DEBUG=y, /proc/sys/vm/mem_profiling is
> read-only to avoid debug warnings in a scenario when an allocation is
> made while profiling is disabled (allocation does not get an allocation
> tag), then profiling gets enabled and allocation gets freed (warning due
> to the allocation missing allocation tag).

Cool, thanks.

> Cc: stable@xxxxxxxxxxxxxxx

Documentation/process/stable-kernel-rules.rst tells me that -stable tree
users prefer incorrect documentation ;)