Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

vmcoreinfo: Remove documentation of PG_slab and PG_hugetlb

The changes to kernel/vmcore_info.c were sadly not reflected in the
documentation. Rectify that for both these flags as well as adding
PAGE_UNACCEPTED_MAPCOUNT_VALUE.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Harry Yoo <harry.yoo@oracle.com>
Link: https://patch.msgid.link/20250611155916.2579160-8-willy@infradead.org
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>

authored by

Matthew Wilcox (Oracle) and committed by
Vlastimil Babka
a39a6acc 18085170

+4 -4
+4 -4
Documentation/admin-guide/kdump/vmcoreinfo.rst
··· 325 325 On linux-2.6.21 or later, the number of free pages is in 326 326 vm_stat[NR_FREE_PAGES]. Used to get the number of free pages. 327 327 328 - PG_lru|PG_private|PG_swapcache|PG_swapbacked|PG_slab|PG_hwpoision|PG_head_mask|PG_hugetlb 329 - ----------------------------------------------------------------------------------------- 328 + PG_lru|PG_private|PG_swapcache|PG_swapbacked|PG_hwpoison|PG_head_mask 329 + -------------------------------------------------------------------------- 330 330 331 331 Page attributes. These flags are used to filter various unnecessary for 332 332 dumping pages. 333 333 334 - PAGE_BUDDY_MAPCOUNT_VALUE(~PG_buddy)|PAGE_OFFLINE_MAPCOUNT_VALUE(~PG_offline)|PAGE_OFFLINE_MAPCOUNT_VALUE(~PG_unaccepted) 335 - ------------------------------------------------------------------------------------------------------------------------- 334 + PAGE_SLAB_MAPCOUNT_VALUE|PAGE_BUDDY_MAPCOUNT_VALUE|PAGE_OFFLINE_MAPCOUNT_VALUE|PAGE_HUGETLB_MAPCOUNT_VALUE|PAGE_UNACCEPTED_MAPCOUNT_VALUE 335 + ------------------------------------------------------------------------------------------------------------------------------------------ 336 336 337 337 More page attributes. These flags are used to filter various unnecessary for 338 338 dumping pages.