Skip to contentSkip to conversation

mm.git review status (mm-stable)

DISCUSSION Andrew Morton 3 participants 3 messages Feb 3 – Feb 4 Memory management

lore
Share & tools
lore

Andrew Morton

author maintainer
#0 lore raw

I wrote a thing, thought it might be of some interest.

mm.git review status for linus..mm-stable

Everything:

Total patches:       320
Reviews/patch:       1.40
Reviewed rate:       74%

Excluding DAMON:

Total patches:       259
Reviews/patch:       1.65
Reviewed rate:       84%

Excluding DAMON and zram:

Total patches:       245
Reviews/patch:       1.74
Reviewed rate:       88%

Unreviewed patches by author:

Andrew Morton <[email protected]>
"mm/vmscan.c:shrink_folio_list(): save a tabstop"

David Hildenbrand <[email protected]>

    "treewide: provide a generic clear_user_page() variant"
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/balloon_compaction: improve comments for WARN_ON_ONCE(!b_dev_info)"
        Link: https://lkml.kernel.org/r/[email protected]

Dennis Zhou <[email protected]>

    "percpu: add double free check to pcpu_free_area()"
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lore.kernel.org/lkml/[email protected]/ [1]

Alexander Potapenko <[email protected]>
"mm: kmsan: add test_uninit_page"

Kevin Brodsky <[email protected]>

    "selftests/mm: default KDIR to build directory"
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lkml.kernel.org/r/[email protected]
    "selftests/mm: check that FORCE_READ() succeeded"
        Link: https://lkml.kernel.org/r/[email protected]

Klara Modin <[email protected]>
"arm: make initialization of zero page independent of the memory map"

Lorenzo Stoakes <[email protected]>
"mm/rmap: eliminate partial anon_vma tear-down in anon_vma_fork()"

Richard Chang <[email protected]>

    "zram: introduce compressed data writeback"
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lkml.kernel.org/r/[email protected]
    "zram: introduce writeback_compressed device attribute"
        Link: https://lkml.kernel.org/r/[email protected]

Mike Rapoport (Microsoft) <[email protected]>

    "arm: introduce arch_zone_limits_init()"
        Link: https://lkml.kernel.org/r/[email protected]
    "arm64: introduce arch_zone_limits_init()"
        Link: https://lkml.kernel.org/r/[email protected]
    "hexagon: introduce arch_zone_limits_init()"
        Link: https://lkml.kernel.org/r/[email protected]
    "loongarch: introduce arch_zone_limits_init()"
        Link: https://lkml.kernel.org/r/[email protected]
    "m68k: introduce arch_zone_limits_init()"
        Link: https://lkml.kernel.org/r/[email protected]
    "microblaze: introduce arch_zone_limits_init()"
        Link: https://lkml.kernel.org/r/[email protected]
    "mips: introduce arch_zone_limits_init()"
        Link: https://lkml.kernel.org/r/[email protected]
    "riscv: introduce arch_zone_limits_init()"
        Link: https://lkml.kernel.org/r/[email protected]
    "s390: introduce arch_zone_limits_init()"
        Link: https://lkml.kernel.org/r/[email protected]
    "sh: introduce arch_zone_limits_init()"
        Link: https://lkml.kernel.org/r/[email protected]
    "um: introduce arch_zone_limits_init()"
        Link: https://lkml.kernel.org/r/[email protected]
    "x86: introduce arch_zone_limits_init()"
        Link: https://lkml.kernel.org/r/[email protected]
    "xtensa: introduce arch_zone_limits_init()"
        Link: https://lkml.kernel.org/r/[email protected]
    "arch, mm: consolidate initialization of nodes, zones and memory map"
        Link: https://lkml.kernel.org/r/[email protected]
    "arch, mm: consolidate initialization of SPARSE memory model"
        Link: https://lkml.kernel.org/r/[email protected]
    "mips: drop paging_init()"
        Link: https://lkml.kernel.org/r/[email protected]
    "x86: don't reserve hugetlb memory in setup_arch()"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm, arch: consolidate hugetlb CMA reservation"
        Link: https://lkml.kernel.org/r/[email protected]

Sergey Senozhatsky <[email protected]>

    "zram: document writeback_batch_size"
        Link: https://lkml.kernel.org/r/[email protected]
    "zram: move bd_stat to writeback section"
        Link: https://lkml.kernel.org/r/[email protected]
    "zram: rename zram_free_page()"
        Link: https://lkml.kernel.org/r/[email protected]
    "zram: switch to guard() for init_lock"
        Link: https://lkml.kernel.org/r/[email protected]
    "zram: consolidate device-attr declarations"
        Link: https://lkml.kernel.org/r/[email protected]
    "zram: use u32 for entry ac_time tracking"
        Link: https://lkml.kernel.org/r/d7c0b48450c70eeb5fd8acd6ecd23593f30dbf1f.1765775954.git.senozhatsky@chromium.org
    "zram: rename internal slot API"
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lkml.kernel.org/r/775a0b1a0ace5caf1f05965d8bc637c1192820fa.1765775954.git.senozhatsky@chromium.org
    "zram: trivial fix of recompress_slot() coding styles"
        Link: https://lkml.kernel.org/r/ff3254847dbdc6fbd2e3fed53c572a261d60b7b6.1765775954.git.senozhatsky@chromium.org
    "zram: fixup read_block_state()"
        Link: https://lkml.kernel.org/r/[email protected]
    "zram: drop pp_in_progress"
        Link: https://lkml.kernel.org/r/[email protected]

SeongJae Park <[email protected]>

    "mm/damon/core: introduce nr_snapshots damos stat"
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/sysfs-schemes: introduce nr_snapshots damos stat file"
        Link: https://lkml.kernel.org/r/[email protected]
    "Docs/mm/damon/design: update for nr_snapshots damos stat"
        Link: https://lkml.kernel.org/r/[email protected]
    "Docs/admin-guide/mm/damon/usage: update for nr_snapshots damos stat"
        Link: https://lkml.kernel.org/r/[email protected]
    "Docs/ABI/damon: update for nr_snapshots damos stat"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon: update damos kerneldoc for stat field"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/core: implement max_nr_snapshots"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/sysfs-schemes: implement max_nr_snapshots file"
        Link: https://lkml.kernel.org/r/[email protected]
    "Docs/mm/damon/design: update for max_nr_snapshots"
        Link: https://lkml.kernel.org/r/[email protected]
    "Docs/admin-guide/mm/damon/usage: update for max_nr_snapshots"
        Link: https://lkml.kernel.org/r/[email protected]
    "Docs/ABI/damon: update for max_nr_snapshots"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/core: introduce [in]active memory ratio damos quota goal metric"
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/paddr: activate DAMOS_LRU_PRIO targets instead of marking accessed"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/lru_sort: consider age for quota prioritization"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/lru_sort: support young page filters"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/lru_sort: support active:inactive memory ratio based auto-tuning"
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/core: implement damon_kdamond_pid()"
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/sysfs: use damon_kdamond_pid()"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/lru_sort: use damon_kdamond_pid()"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/reclaim: use damon_kdamond_pid()"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon: hide kdamond and kdamond_lock of damon_ctx"
        Link: https://lkml.kernel.org/r/[email protected]
    "selftests/damon/sysfs_memcg_path_leak.sh: use kmemleak"
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lkml.kernel.org/r/[email protected]
    "selftests/damon/wss_estimation: test for up to 160 MiB working set size"
        Link: https://lkml.kernel.org/r/[email protected]
    "selftests/damon/access_memory: add repeat mode"
        Link: https://lkml.kernel.org/r/[email protected]
    "selftests/damon/wss_estimation: ensure number of collected wss"
        Link: https://lkml.kernel.org/r/[email protected]
    "selftests/damon/wss_estimation: deduplicate failed samples output"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon: remove damon_operations->cleanup()"
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/core: cleanup targets and regions at once on kdamond termination"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/core: cancel damos_walk() before damon_ctx->kdamond reset"
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lore.kernel.org/[email protected] [1]
    "mm/damon/core: process damon_call_control requests on a local list"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon: document damon_call_control->dealloc_on_cancel repeat behavior"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon/core: rename damos_filter_out() to damos_core_filter_out()"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon: rename DAMON_MIN_REGION to DAMON_MIN_REGION_SZ"
        Link: https://lkml.kernel.org/r/[email protected]
    "mm/damon: rename min_sz_region of damon_ctx to min_region_sz"
        Link: https://lkml.kernel.org/r/[email protected]
    "Docs/mm/damon/index: simplify the intro"
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lkml.kernel.org/r/[email protected]
    "Docs/mm/damon/design: link repology instead of Fedora package"
        Link: https://lkml.kernel.org/r/[email protected]
    "Docs/mm/damon/design: document DAMON sample modules"
        Link: https://lkml.kernel.org/r/[email protected]
    "Docs/mm/damon/design: add reference to DAMON_STAT usage"
        Link: https://lkml.kernel.org/r/[email protected]
    "Docs/admin-guide/mm/damon/usage: introduce DAMON modules at the beginning"
        Link: https://lkml.kernel.org/r/[email protected]
    "Docs/admin-guide/mm/damon/usage: update stats update process for refresh_ms"
        Link: https://lkml.kernel.org/r/[email protected]
    "Docs/mm/damon/maintainer-profile: fix wrong MAITNAINERS section name"
        Link: https://lkml.kernel.org/r/[email protected]
    "Docs/mm/damon/maintainer-profile: remove damon-tests/perf suggestion"
        Link: https://lkml.kernel.org/r/[email protected]

Kefeng Wang <[email protected]>

    "mm: hugetlb: optimize replace_free_hugepage_folios()"
        Link: https://lkml.kernel.org/r/[email protected]
        Link: https://lkml.kernel.org/r/[email protected]

Yosry Ahmed <[email protected]>
"zsmalloc: simplify read begin/end logic"

#1 lore raw
Quoted 18 lines · Andrew Morton

I wrote a thing, thought it might be of some interest.

mm.git review status for linus..mm-stable

Everything:

Total patches:       320
Reviews/patch:       1.40
Reviewed rate:       74%

Excluding DAMON:

Total patches:       259
Reviews/patch:       1.65
Reviewed rate:       84%
Quoted 6 lines

Excluding DAMON and zram:

Total patches:       245
Reviews/patch:       1.74
Reviewed rate:       88%

Thanks Andrew for sharing this. It seems like DAMON and zram maintainers need to convince more folks to be reviewers for their sub-system :P

I think overall we need to incentivize reviewing for MM subsytem. The netdev and bpf folks publish development stats [1, 2] for each kernel release. Maybe we can borrow their script [3] to do something similar for MM as well.

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/aTBxuQSvtATrr3mu@mini-arch/
[3] https://github.com/linux-netdev/ml-stat

#2 lore raw
Quoted 5 lines · On Tue, 3 Feb 2026 08:18:18 -0800 Shakeel Butt <[email protected]> wrote:
Quoted 4 lines · Andrew Morton

I wrote a thing, thought it might be of some interest.

Quoted 7 lines
Quoted 7 lines

mm.git review status for linus..mm-stable

Everything:

Total patches:       320
Reviews/patch:       1.40
Reviewed rate:       74%

Thank you for sharing this, Andrew :) This high level view is helpful.

Quoted 6 lines
Quoted 6 lines

Excluding DAMON:

Total patches:       259
Reviews/patch:       1.65
Reviewed rate:       84%

And the above part made me wonder if there could be people who want to get the view for only DAMON patches. I was actually wondering that recently, and therefore was writing a tool [1] that can provide that kind of information, occasionally in the last weekend. The tool is still in a early stage, so it would be buggy and may be changed a lot in near future. Nonetheless, it can provide the review status in multiple categories [2] including if it is not reviewed but written by a maintainer, and for specific subsystems. So if you want to know more detailed review status of patches for DAMON or other subsystems in mm tree, you could use it. E.g.,

    $ ../lazybox/linux_hack/mm_tree_summary.py --subsystem "DAMON" --review_score_to_print_commits 11
    baseline: v6.19-rc6-36-g6c790212c588f

# DAMON
mm-hotfixes-stable: 0 commits
mm-hotfixes-unstable: 0 commits
mm-stable: 62 commits
- review score 3: 12 commits
- review score 8: 42 commits
- review score 9: 7 commits
- review score 11: 1 commits
- 95296536eb19 ("memcg: rename mem_cgroup_ino() to mem_cgroup_id()")
mm-unstable: 1 commits
- review score 3: 1 commits
mm-new: 1 commits
- review score 3: 1 commits
mm-nonmm-stable: 0 commits
mm-nonmm-unstable: 0 commits

Quoted 10 lines
Quoted 7 lines

Excluding DAMON and zram:

Total patches:       245
Reviews/patch:       1.74
Reviewed rate:       88%

Thanks Andrew for sharing this. It seems like DAMON and zram maintainers need to convince more folks to be reviewers for their sub-system :P

I just hope my code makes more reviewers than my words and chocolate cakes ;)

[1] https://github.com/sjp38/lazybox/blob/master/linux_hack/mm_tree_summary.py
[2] https://github.com/sjp38/lazybox/blob/master/linux_hack/mm_tree_summary.py#L64

Thanks,
SJ

[...]