Skip to content

proc: export more page flags in /proc/kpageflags (take 4)

Wu Fengguang linux-mm linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 62 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pagemap: document clarificationsDocumentation/vm/pagemap.txt+3 -31 reply
2/5pagemap: documentation 9 more exported page flagsDocumentation/vm/pagemap.txt+62 -00 replies
3/5mm: introduce PageHuge() for testing huge/gigantic pagesinclude/linux/mm.h mm/hugetlb.c mm/page_alloc.c+35 -20 replies
4/5proc: kpagecount/kpageflags code cleanupfs/proc/page.c+10 -60 replies
5/5proc: export more page flags in /proc/kpageflagsfs/proc/page.c+167 -3061 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] proc: export more page flags in /proc/kpageflags (take 4)

Hi all,

Export 9 more flags to end users (and more for kernel developers):

        11. KPF_MMAP            (pseudo flag) memory mapped page
        12. KPF_ANON            (pseudo flag) memory mapped page (anonymous)
        13. KPF_SWAPCACHE       page is in swap cache
        14. KPF_SWAPBACKED      page is swap/RAM backed
        15. KPF_COMPOUND_HEAD   (*)
        16. KPF_COMPOUND_TAIL   (*)
        17. KPF_UNEVICTABLE     page is in the unevictable LRU list
        18. KPF_HWPOISON        hardware detected corruption
        19. KPF_NOPAGE          (pseudo flag) no page frame at the address

(*) For compound pages, exporting _both_ head/tail info enables
users to tell where a compound page starts/ends, and its order.

Please check the documentary patch and changelog of the final patch for the details.

[PATCH 1/5] pagemap: document clarifications
[PATCH 2/5] pagemap: documentation new page flags
[PATCH 3/5] mm: introduce PageHuge() for testing huge/gigantic pages [PATCH 4/5] proc: kpagecount/kpageflags code cleanup [PATCH 5/5] proc: export more page flags in /proc/kpageflags

Thanks,
Fengguang

Signature · 5 lines
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>