linux/Documentation/mm
Suren Baghdasaryan cb7d761bf5 Docs/mm/allocation-profiling: describe sysctrl limitations in debug mode
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).

Link: https://lkml.kernel.org/r/20260116184423.2708363-1-surenb@google.com
Fixes: ebdf9ad4ca ("memprofiling: documentation")
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Acked-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Ran Xiaokai <ran.xiaokai@zte.com.cn>
Cc: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2026-01-20 09:34:26 -08:00
..
damon Docs/mm/damon/maintainer-profile: fix grammatical errors 2025-11-20 13:44:01 -08:00
active_mm.rst Documentation: treewide: Replace marc.info links with lore 2025-11-03 16:21:31 -07:00
allocation-profiling.rst Docs/mm/allocation-profiling: describe sysctrl limitations in debug mode 2026-01-20 09:34:26 -08:00
arch_pgtable_helpers.rst Documentation/mm: drop pxx_mkdevmap() descriptions from page table helpers 2025-10-03 16:42:44 -07:00
balance.rst Documentation/mm: fix spelling mistake 2025-03-16 22:06:23 -07:00
bootmem.rst
free_page_reporting.rst
highmem.rst
hmm.rst mm/rmap: convert make_device_exclusive_range() to make_device_exclusive() 2025-03-16 22:05:57 -07:00
hugetlbfs_reserv.rst
hwpoison.rst
index.rst docs: add documentation for memfd preservation via LUO 2025-11-27 14:24:41 -08:00
ksm.rst
memfd_preservation.rst docs: add documentation for memfd preservation via LUO 2025-11-27 14:24:41 -08:00
memory-model.rst mm/zone_device: rename page_free callback to folio_free 2025-11-24 15:08:47 -08:00
mmu_notifier.rst
multigen_lru.rst
numa.rst
oom.rst
overcommit-accounting.rst
page_allocation.rst
page_cache.rst
page_frags.rst
page_migration.rst docs/mm: convert from "Non-LRU page migration" to "movable_ops page migration" 2025-07-13 16:38:32 -07:00
page_owner.rst mm/page_owner: update Documentation with 'show_handles' and 'show_stacks_handles' 2025-11-16 17:27:59 -08:00
page_reclaim.rst
page_table_check.rst
page_tables.rst Docs/mm: Fix a mistake for pfn in page_tables.rst 2024-10-14 10:16:16 -06:00
physical_memory.rst docs: update physical memory documentation by adding N_GENERIC_INITIATOR to enum node_states 2025-08-11 11:03:37 -06:00
process_addrs.rst mm: add vma_start_write_killable() 2025-11-20 13:43:59 -08:00
remap_file_pages.rst
shmfs.rst
slab.rst doc: Add slab internal kernel-doc 2025-06-18 13:06:26 +02:00
split_page_table_lock.rst mm: pgtable: Fix grammar error 2025-02-04 09:40:14 -07:00
swap-table.rst docs/mm: add document for swap table 2025-09-21 14:22:22 -07:00
swap.rst
transhuge.rst mm: stop maintaining the per-page mapcount of large folios (CONFIG_NO_PAGE_MAPCOUNT) 2025-03-17 22:06:48 -07:00
unevictable-lru.rst mm: remove isolate_lru_page() 2024-09-09 16:38:59 -07:00
vmalloc.rst
vmalloced-kernel-stacks.rst docs:mm: fixed spelling and grammar mistakes on vmalloc kernel stack page 2024-09-10 15:31:45 -06:00
vmemmap_dedup.rst
zsmalloc.rst mm: zsmalloc: remove object mapping APIs and per-CPU map areas 2025-03-17 00:05:41 -07:00