LKML News v6.8-rc7

[PATCH 1/1] mm/madvise: enhance lazyfreeing with mTHP in madvise_free (Lance Yang) Lance improves madvise_free_pte_range() to handle large folios that smaller than PMD-size and optimizes lazy-free of PTE-mapped smaller than PMD-size THPs using this patch. [RFC PATCH] mm: Add reclaim type to memory.reclaim (Yafang Shao) This RFC patch extends memory.reclaim memcg file to receive type of memory to reclaim. It supports pagecache only, slabs only, and both. [LSF/MM/BPF TOPIC] mm/mempolicy extentions for heterogeneous memory systems (Gregory Price) https://lkml.

LKML News v6.8-rc6

[PATCH V2 0/2] Introduce slabinfo version 2.2 (Fangzheng Zhang) This patchset updates slabinfo to version 2.2 and adds slabreclaim column for recording whether each slab pool is reclaim type. [RFC PATCH 0/3] make the hugetlb migration strategy consistent (Baolin Wang) Falling back to other NUMA nodes when migrating freed hugetlb is prevented while it is allowed for in-use hugetlb. This patchset make it more clear and consistent. [Invitation] Linux MM Alignment Session on Cold Page Detection on Wednesday (David Rientjes) https://lkml.

LKML News v6.8-rc5

[PATCH v3] cgroup2: New memory.max.effective like cgroup1 hierarchical_memory_limit (Jan Kratochvil) Unlike cgroup v1, which was able to find effective memory limit using hierarchical_memorylimit and hierarchical_memsw_limit lines, cgoup v2 doesn’t have such hierarchical information, so need to read all files in the hierarchy to know the effective memory limit. This patchset adds memory.max.effective and memory.swap.max.effective to let users easily get the information. [PATCH v3 00/35] Memory allocation profiling (Suren Baghdasaryan) https://lkml.

LKML News v6.8-rc4

[PATCH] mm/cma: Add sysfs file ‘release_pages_success’ (Anshuman Khandual) This patch adds a new sysfs file for tracking the number of successfully released pages from a given CMA heap area. It aims to be hulpful at determining available active CMA pages. [PATCH v2] mm/demotion: print demotion targets (Li Zhijian) Li Zhijian sent a patch for printing demotion target information in case of fallback for unmet requirements on the target node, directly to the kernel log.

LKML News v6.8-rc3

[GIT PULL] hotfixes for 6.8-rc3 (Andrew Morton) Andrew Morton sent a hotfixes pull request to Linus Torvalds. [LSF/MM/BPF TOPIC] Reclaiming & documenting page flags (Matthew Wilcox) Matthew proposes yet another LSFMM topic for discussing what page flags actually mean altogether, for better documentation. [PATCH v7 0/1] mm: report per-page metadata information (Sourav Panda) Sourav from Google posted a patch for adding a new field on /proc/meminfo and /sys/devices/system/node/nodeN/vmstat called PageMetadata and nr_page_metadata respectively, which can helps understand how much memory are being used for page metadata.

LKML News v6.8-rc2

Project: Improving the PCP allocator (Matthew Wilcox) Matthew introduces an idea to improve the PCP allocator, roughly saying, keeping only compound memory on the PCP list. [PATCH v2 0/3] Enable >0 order folio memory compaction (Zi Yan) Zi enables larger than zero order folio compaction, which is the prerequisite for large folio support. [PATCH v2 1/3] mm: make vm_area_struct anon_name field RCU-safe (Suren Baghdasaryan) For lockless /proc/pid/maps reads, this patch makes anon_name field of vm_area_struct, which is the only one field that need to be accessed for reading the file but not RCU-protected, to be protected by RCU.

LKML News v6.8-rc1

[GIT PULL] MM updates for 6.8-rc1 (Andrew Morton) Andrew Morton sent the memory management subsystem side pull request for Linux v6.8-rc1 to Linus Torvalds. The request has many interesting changes including zswap writeback improvement, Feedback-based DAMOS autotuning, Multi-size anon THP, KSM advisor and many more. [GIT PULL] non-MM updates for 6.8-rc1 (Andrew Morton) Andrew sent yet another pull request for out of memory management subsystem changes to Linus Torvalds.

LKML News v6.7

[PATCH v3 0/7] hugetlb: parallelize hugetlb page init on boot (Gang Li) The thrid version of hugetlb initialization prallelization patchset has posted. [PATCH v3 00/11] Mitigate a vmap lock contention v3 (Uladzislau Rezki) Third version of vmap lock contention mitigation patch has posted. [PATCH v6 0/2] Add swappiness argument to memory.reclaim (Dan Schatzberg) Sixth version of the patchset for letting memory.reclaim memcg file be used with swappiness argument has posted.

My opensource commits statistics in 2023

As today is the last day of 2023, I checked some open source commits statistics using my simple and buggy script, and github. Similar statistics for 2022 is available at another post. In short, I made 8th and 4th biggest changes to Linux kernel memory management subsystem among the 295 people, for lines of changes (1,910) and commits (66). For the Linux kernel whole tree, the numbers become 264th (3,562 lines) and 80th (147 commits) among 5,006 people.

LKML News v6.7-rc8

[PATCH] kernel: Introduce a write lock/unlock wrapper for tasklist_lock (Maria Yu) A patch introducing a write lock/unlock wrapper for tasklist_lock, to overcome bad responsive performance of system that coming from scenarios that acquiring read lock which wrote lock needed to be waiting for. [PATCH v3 00/10] IOMMU memory observability (Pasha Tatashin) Third version of patchset to allow monitoring and limiting IOMMU memory usage is posted. [GIT PULL] hotfixes for 6.