Skip to content

tools/vm/page_owner_sort.c: sort by stacktrace before culling

Andrew Morton linux-mm linux-patches mm-commits stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest114 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/114tools/vm/page_owner_sort.c: sort by stacktrace before cullingtools/vm/page_owner_sort.c+6 -40 replies
2/114tools/vm/page_owner_sort.c: support sorting by stack tracetools/vm/page_owner_sort.c+14 -90 replies
3/114tools/vm/page_owner_sort.c: add switch between culling by stacktrace and txttools/vm/page_owner_sort.c+20 -30 replies
4/114tools/vm/page_owner_sort.c: support sorting pid and timetools/vm/page_owner_sort.c+148 -290 replies
5/114tools/vm/page_owner_sort.c: two trivial fixestools/vm/page_owner_sort.c+2 -30 replies
6/114tools/vm/page_owner_sort.c: delete invalid duplicate codetools/vm/page_owner_sort.c+0 -20 replies
7/114Documentation/vm/page_owner.rst: update the documentationDocumentation/vm/page_owner.rst+21 -20 replies
8/114Documentation/vm/page_owner.rst: fix unexpected indentation warnsDocumentation/vm/page_owner.rst+3 -30 replies
9/114lib/vsprintf: avoid redundant work with 0 sizelib/vsprintf.c+5 -30 replies
10/114mm/page_owner: use scnprintf() to avoid excessive buffer overrun checkmm/page_owner.c+3 -110 replies
11/114mm/page_owner: print memcg informationmm/page_owner.c+42 -00 replies
12/114mm/page_owner: record task command namemm/page_owner.c+10 -40 replies
13/114mm/page_owner.c: record tgidmm/page_owner.c+10 -60 replies
14/114tools/vm/page_owner_sort.c: fix the instructions for usetools/vm/page_owner_sort.c+1 -10 replies
15/114tools/vm/page_owner_sort.c: fix commentsDocumentation/vm/page_owner.rst+2 -20 replies
16/114tools/vm/page_owner_sort.c: add a security checktools/vm/page_owner_sort.c+6 -00 replies
17/114tools/vm/page_owner_sort.c: support sorting by tgid and update documentationDocumentation/vm/page_owner.rst tools/vm/page_owner_sort.c+38 -30 replies
18/114tools/vm/page_owner_sort: fix three trivival placestools/vm/page_owner_sort.c+19 -180 replies
19/114tools/vm/page_owner_sort: support for sorting by task command nameDocumentation/vm/page_owner.rst tools/vm/page_owner_sort.c+35 -10 replies
20/114tools/vm/page_owner_sort.c: support for selecting by PID, TGID or task command nameDocumentation/vm/page_owner.rst tools/vm/page_owner_sort.c+98 -260 replies
21/114tools/vm/page_owner_sort.c: support for user-defined culling rulesDocumentation/vm/page_owner.rst tools/vm/page_owner_sort.c+159 -220 replies
22/114mm: unexport page_init_poisonmm/debug.c+0 -10 replies
23/114selftest/vm: add util.h and and move helper functions theretools/testing/selftests/vm/ksm_tests.c tools/testing/selftests/vm/transhuge-stress.c tools/testing/selftests/vm/util.h+52 -750 replies
24/114selftest/vm: add helpers to detect PAGE_SIZE and PAGE_SHIFTtools/testing/selftests/vm/gup_test.c tools/testing/selftests/vm/util.h+26 -40 replies
25/114mm: delete __ClearPageWaiters()include/linux/page-flags.h mm/filemap.c mm/memremap.c +1 more+9 -220 replies
26/114mm: filemap_unaccount_folio() large skip mapcount fixupmm/filemap.c+13 -130 replies
27/114mm/thp: fix NR_FILE_MAPPED accounting in page_*_file_rmap()mm/rmap.c+14 -170 replies
28/114mm/migration: add trace events for THP migrationsarch/powerpc/mm/book3s64/trace.c include/trace/events/thp.h mm/huge_memory.c+32 -10 replies
29/114mm/migration: add trace events for base page and HugeTLB migrationsarch/x86/mm/init.c include/trace/events/migrate.h mm/migrate.c +1 more+40 -20 replies
30/114kasan, page_alloc: deduplicate should_skip_kasan_poisonmm/page_alloc.c+33 -220 replies
31/114kasan, page_alloc: move tag_clear_highpage out of kernel_init_free_pagesmm/page_alloc.c+13 -110 replies
32/114kasan, page_alloc: merge kasan_free_pages into free_pages_prepareinclude/linux/kasan.h mm/kasan/common.c mm/kasan/hw_tags.c +1 more+5 -220 replies
33/114kasan, page_alloc: simplify kasan_poison_pages call sitemm/page_alloc.c+5 -130 replies
34/114kasan, page_alloc: init memory of skipped pages on freemm/page_alloc.c+8 -30 replies
35/114kasan: drop skip_kasan_poison variable in free_pages_preparemm/page_alloc.c+1 -20 replies
36/114mm: clarify __GFP_ZEROTAGS commentinclude/linux/gfp.h+4 -20 replies
37/114kasan: only apply __GFP_ZEROTAGS when memory is zeroedmm/kasan/hw_tags.c+2 -10 replies
38/114kasan, page_alloc: refactor init checks in post_alloc_hookmm/page_alloc.c+11 -90 replies
39/114kasan, page_alloc: merge kasan_alloc_pages into post_alloc_hookinclude/linux/kasan.h mm/kasan/common.c mm/kasan/hw_tags.c +1 more+16 -370 replies
40/114kasan, page_alloc: combine tag_clear_highpage calls in post_alloc_hookmm/page_alloc.c+16 -160 replies
41/114kasan, page_alloc: move SetPageSkipKASanPoison in post_alloc_hookmm/page_alloc.c+3 -30 replies
42/114kasan, page_alloc: move kernel_init_free_pages in post_alloc_hookmm/page_alloc.c+8 -40 replies
43/114kasan, page_alloc: rework kasan_unpoison_pages call sitemm/page_alloc.c+12 -70 replies
44/114kasan: clean up metadata byte definitionsmm/kasan/kasan.h+5 -20 replies
45/114kasan: define KASAN_VMALLOC_INVALID for SW_TAGSmm/kasan/kasan.h+2 -10 replies
46/114kasan, x86, arm64, s390: rename functions for modules shadowarch/arm64/kernel/module.c arch/s390/kernel/module.c arch/x86/kernel/module.c +3 more+13 -130 replies
47/114kasan, vmalloc: drop outdated VM_KASAN commentinclude/linux/vmalloc.h+0 -110 replies
48/114kasan: reorder vmalloc hooksinclude/linux/kasan.h mm/kasan/shadow.c+31 -320 replies
49/114kasan: add wrappers for vmalloc hooksinclude/linux/kasan.h mm/kasan/shadow.c+17 -50 replies
50/114kasan, vmalloc: reset tags in vmalloc functionsmm/vmalloc.c+9 -30 replies
51/114kasan, fork: reset pointer tags of vmapped stackskernel/fork.c+2 -00 replies
52/114kasan, arm64: reset pointer tags of vmapped stacksarch/arm64/include/asm/vmap_stack.h kernel/fork.c+10 -60 replies
53/114kasan, vmalloc: add vmalloc tagging for SW_TAGSinclude/linux/kasan.h mm/kasan/shadow.c mm/vmalloc.c+22 -140 replies
54/114kasan, vmalloc, arm64: mark vmalloc mappings as pgprot_taggedarch/arm64/include/asm/vmalloc.h include/linux/vmalloc.h mm/vmalloc.c+22 -00 replies
55/114kasan, vmalloc: unpoison VM_ALLOC pages after mappingmm/vmalloc.c+22 -80 replies
56/114kasan, mm: only define ___GFP_SKIP_KASAN_POISON with HW_TAGSinclude/linux/gfp.h include/trace/events/mmflags.h+16 -40 replies
57/114kasan, page_alloc: allow skipping unpoisoning for HW_TAGSinclude/linux/gfp.h include/trace/events/mmflags.h mm/page_alloc.c+38 -190 replies
58/114kasan, page_alloc: allow skipping memory init for HW_TAGSinclude/linux/gfp.h include/trace/events/mmflags.h mm/page_alloc.c+24 -80 replies
59/114kasan, vmalloc: add vmalloc tagging for HW_TAGSinclude/linux/kasan.h kernel/scs.c mm/kasan/hw_tags.c +2 more+175 -180 replies
60/114kasan, vmalloc: only tag normal vmalloc allocationsinclude/linux/kasan.h kernel/scs.c mm/kasan/hw_tags.c +2 more+56 -270 replies
61/114kasan, arm64: don't tag executable vmalloc allocationsarch/arm64/kernel/module.c arch/arm64/mm/pageattr.c arch/arm64/net/bpf_jit_comp.c+5 -30 replies
62/114kasan: mark kasan_arg_stacktrace as __initdatamm/kasan/hw_tags.c+5 -20 replies
63/114kasan: clean up feature flags for HW_TAGS modemm/kasan/hw_tags.c mm/kasan/kasan.h+22 -180 replies
64/114kasan: add kasan.vmalloc command line flagmm/kasan/hw_tags.c mm/kasan/kasan.h+50 -10 replies
65/114kasan: allow enabling KASAN_VMALLOC and SW/HW_TAGSlib/Kconfig.kasan+9 -90 replies
66/114arm64: select KASAN_VMALLOC for SW/HW_TAGS modesarch/arm64/Kconfig+1 -10 replies
67/114kasan: documentation updatesDocumentation/dev-tools/kasan.rst+11 -60 replies
68/114kasan: improve vmalloc testslib/test_kasan.c+188 -60 replies
69/114kasan: test: support async (again) and asymm modes for HW_TAGSinclude/linux/kasan.h lib/test_kasan.c mm/kasan/hw_tags.c +2 more+52 -410 replies
70/114mm/kasan: remove unnecessary CONFIG_KASAN optionmm/kasan/Makefile+1 -10 replies
71/114kasan: update function name in commentslib/test_kasan.c+3 -30 replies
72/114kasan: print virtual mapping info in reportsmm/kasan/report.c+14 -10 replies
73/114kasan: drop addr check from describe_object_addrmm/kasan/report.c+0 -30 replies
74/114kasan: more line breaks in reportsmm/kasan/report.c+5 -20 replies
75/114kasan: rearrange stack frame info in reportsmm/kasan/report.c mm/kasan/report_generic.c+13 -140 replies
76/114kasan: improve stack frame info in reportsmm/kasan/report_generic.c+5 -40 replies
77/114kasan: print basic stack frame info for SW_TAGSmm/kasan/kasan.h mm/kasan/report_sw_tags.c+13 -10 replies
78/114kasan: simplify async check in end_report()mm/kasan/report.c+1 -10 replies
79/114kasan: simplify kasan_update_kunit_status() and call sitesmm/kasan/report.c+14 -160 replies
80/114kasan: check CONFIG_KASAN_KUNIT_TEST instead of CONFIG_KUNITmm/kasan/kasan.h mm/kasan/report.c+9 -110 replies
81/114kasan: move update_kunit_status to start_reportmm/kasan/report.c+34 -410 replies
82/114kasan: move disable_trace_on_warning to start_reportmm/kasan/report.c+2 -10 replies
83/114kasan: split out print_report from __kasan_reportmm/kasan/kasan.h mm/kasan/report.c+35 -300 replies
84/114kasan: simplify kasan_find_first_bad_addr call sitesmm/kasan/report.c mm/kasan/report_generic.c mm/kasan/report_hw_tags.c +1 more+10 -40 replies
85/114kasan: restructure kasan_reportmm/kasan/report.c+9 -60 replies
86/114kasan: merge __kasan_report into kasan_reportmm/kasan/report.c+15 -210 replies
87/114kasan: call print_report from kasan_report_invalid_freemm/kasan/kasan.h mm/kasan/report.c+32 -160 replies
88/114kasan: move and simplify kasan_report_asyncmm/kasan/report.c+14 -140 replies
89/114kasan: rename kasan_access_info to kasan_report_infomm/kasan/kasan.h mm/kasan/report.c mm/kasan/report_generic.c +1 more+10 -100 replies
90/114kasan: add comment about UACCESS regions to kasan_reportmm/kasan/report.c+5 -00 replies
91/114kasan: respect KASAN_BIT_REPORTED in all reporting routinesmm/kasan/report.c+32 -30 replies
92/114kasan: reorder reporting functionsmm/kasan/report.c+41 -410 replies
93/114kasan: move and hide kasan_save_enable/restore_multi_shotinclude/linux/kasan.h mm/kasan/kasan.h mm/kasan/report.c+24 -170 replies
94/114kasan: disable LOCKDEP when printing reportsmm/kasan/report.c+5 -10 replies
95/114mm: enable MADV_DONTNEED for hugetlb mappingsmm/madvise.c+30 -30 replies
96/114selftests/vm: add hugetlb madvise MADV_DONTNEED MADV_REMOVE testtools/testing/selftests/vm/.gitignore tools/testing/selftests/vm/Makefile tools/testing/selftests/vm/hugetlb-madvise.c +1 more+424 -00 replies
97/114userfaultfd/selftests: enable hugetlb remap and remove event testingtools/testing/selftests/vm/run_vmtests.sh tools/testing/selftests/vm/userfaultfd.c+36 -360 replies
98/114mm/huge_memory: make is_transparent_hugepage() staticinclude/linux/huge_mm.h mm/huge_memory.c+1 -80 replies
99/114mm: optimize do_wp_page() for exclusive pages in the swapcachemm/memory.c+14 -60 replies
100/114mm: optimize do_wp_page() for fresh pages in local LRU pagevecsmm/memory.c+9 -10 replies
101/114mm: slightly clarify KSM logic in do_swap_page()mm/memory.c+22 -140 replies
102/114mm: streamline COW logic in do_swap_page()mm/memory.c+43 -120 replies
103/114mm/huge_memory: streamline COW logic in do_huge_pmd_wp_page()mm/huge_memory.c+9 -40 replies
104/114mm/khugepaged: remove reuse_swap_page() usageinclude/trace/events/huge_memory.h mm/khugepaged.c+0 -120 replies
105/114mm/swapfile: remove stale reuse_swap_page()include/linux/swap.h mm/swapfile.c+0 -1080 replies
106/114mm/huge_memory: remove stale page_trans_huge_mapcount()include/linux/mm.h mm/huge_memory.c+0 -530 replies
107/114mm/huge_memory: remove stale locking logic from __split_huge_pmd()mm/huge_memory.c+4 -360 replies
108/114mm: warn on deleting redirtied only if accountedinclude/linux/pagemap.h mm/filemap.c mm/page-writeback.c+18 -170 replies
109/114mm: unmap_mapping_range_tree() with i_mmap_rwsem sharedmm/memory.c+4 -40 replies
110/114mm: generalize ARCH_HAS_FILTER_PGPROTarch/x86/Kconfig mm/Kconfig+3 -30 replies
111/114mm: fix race between MADV_FREE reclaim and blkdev direct IO readmm/rmap.c+24 -10 replies
112/114mm: madvise: MADV_DONTNEED_LOCKEDarch/alpha/include/uapi/asm/mman.h arch/mips/include/uapi/asm/mman.h arch/parisc/include/uapi/asm/mman.h +3 more+24 -100 replies
113/114selftests: vm: remove dependecy from internal kernel macrostools/testing/selftests/vm/userfaultfd.c+3 -01 reply
114/114selftests: kselftest framework: provide "finished" helpertools/testing/selftests/kselftest.h tools/testing/selftests/vm/memfd_secret.c+11 -10 replies

Reviews trailers per patch

73 of 114 patches have a Reviewed-by or Acked-by.

PatchSean AndersonDavid RientjesSergey SenozhatskyRoman GushchinRafael AquiniMike RapoportDavid HildenbrandYu ZhaoYang ShiMarco ElverAlexander PotapenkoCatalin MarinasMiaohe LinAndrey KonovalovShuah KhanAxel RasmussenMuchun SongMatthew Wilcox (Oracle)Vlastimil BabkaHuang, YingMichal HockoMike KravetzShakeel ButtAlistair Popple
1/114
2/114
3/114
4/114R-b
5/114
6/114
7/114
8/114
9/114A-b R-b A-b A-b A-b
10/114A-b R-b A-b A-b
11/114A-b A-b A-b A-b
12/114A-b
13/114
14/114
15/114
16/114
17/114
18/114
19/114
20/114
21/114
22/114R-b
23/114
24/114
25/114R-b T-b R-b
26/114
27/114R-b
28/114
29/114
30/114A-b
31/114A-b R-b
32/114A-b R-b
33/114A-b R-b
34/114A-b
35/114A-b
36/114A-b
37/114A-b R-b
38/114A-b R-b
39/114A-b
40/114A-b R-b
41/114A-b
42/114A-b R-b
43/114A-b
44/114A-b R-b
45/114A-b R-b
46/114A-b A-b
47/114A-b R-b
48/114A-b R-b
49/114A-b R-b
50/114A-b
51/114A-b R-b
52/114A-b R-b A-b
53/114A-b
54/114A-b
55/114A-b R-b
56/114A-b
57/114A-b
58/114A-b
59/114A-b
60/114A-b
61/114A-b A-b
62/114A-b
63/114A-b
64/114A-b
65/114A-b
66/114A-b A-b
67/114A-b
68/114A-b
69/114
70/114R-b
71/114R-b R-b R-b
72/114
73/114R-b
74/114R-b
75/114R-b
76/114R-b
77/114R-b
78/114
79/114R-b
80/114R-b
81/114
82/114R-b
83/114
84/114
85/114
86/114
87/114
88/114
89/114
90/114
91/114
92/114
93/114
94/114
95/114
96/114R-b
97/114R-b
98/114R-b R-b
99/114R-b A-b
100/114A-b
101/114A-b
102/114A-b
103/114A-b
104/114R-b A-b
105/114A-b
106/114A-b
107/114A-b
108/114
109/114
110/114A-b
111/114R-b
112/114A-b A-b R-b R-b
113/114R-b
114/114

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 24 reviewers.

Read the v1 thread