lkml news

LKML News v6.0-rc2

[PATCH v14 00/14] Multi-Gen LRU Framework (Yu Zhao) https://lkml.kernel.org/r/20220815071332.627393-1-yuzhao@google.com Fourteenth version of MGLRU patch has rebased on the latest mm-unstable and posted again. This may be merged in the mm tree. folio_map (Matthew Wilcox) https://lkml.kernel.org/r/YvvdFrtiW33UOkGr@casper.infradead.org Matthew explains his proposal on folio_map in detail and asks if others have better ideas. [PATCH v3] mm: add thp_utilization metrics to debugfs (Alexander Zhu) https://lkml.kernel.org/r/20220818000112.2722201-1-alexlzhu@fb.com This patch adds debugfs file for tracking how THP is utilized well.

LKML News v6.0-rc1

[PATCH] mm: vmscan: fix extreme overreclaim and swap floods (Johannes Weiner) https://lkml.kernel.org/r/20220802162811.39216-1-hannes@cmpxchg.org Johannes found proactive reclamation using memory.reclaim sometimes reclaim more pages than requested on specific cgroup use cases. This patch resolves the issue so that the proactive reclamation doesn’t over-reclaim pages. [RFC PATCH 0/4] propose a auto-run mode for ksm (Xu Xin) https://lkml.kernel.org/r/20220803100306.1653382-1-xu.xin16@zte.con.cn KSM operation management is quite manual and sometimes inefficient if not well managed. This patchset introduces auto-run mode that can operate KSM in a better way.

LKML News v5.19

[PATCH v4 0/3] mm/mprotect: Fix soft-dirty checks (Peter Xu) https://lkml.kernel.org/r/20220725142048.30450-1-peterx@redhat.com Fourth version of the soft-dirty check fixes for mprotect has posted. This version polishes the commit message and adds tests. [PATCH v2 1/2] mm/slub: enable debugging memory wasting of kmalloc (Feng Tang) https://lkml.kernel.org/r/20220725112025.22625-1-feng.tang@intel.com As slab allocates memory in only power of 2 bytes size, memory can be wasted when slab allocation is requested for a large number of times for objects that sizes not aligned in power of two bytes.

LKML News v5.19-rc8

[RESEND PATCH v3] arm64: enable THP_SWAP for arm64 (Barry Song) https://lkml.kernel.org/r/20220718090050.2261-1-21cnbao@gmail.com This patch enables THP_SWAP which can improve the swap performance for transparent hugepages on ARM64 architecture. [PATCH v12 00/69] Introducing the Maple Tree (Liam Howlett) https://lkml.kernel.org/r/20220720021727.17018-1-Liam.Howlett@oracle.com Maple tree has already merged in the mm-unstable but a new bug has found, so the 12th version of the patchset has posted. [PATCH v10 0/8] mm/demotion: Memory tiers and demotion (Aneesh Kumar K.

LKML News v5.19-rc7

[PATCH 0/4] add struct page and Direct I/O support to reserved memory (Li Chen) https://lkml.kernel.org/r/20220711122459.13773-1-me@linux.beauty Only buffered I/O is available to reserved memory for ZONE_DEVICE and mhp. This patchset enables direct I/O to the memory for better throughput. [PATCH -V4 RESEND 0/3] memory tiering: hot page selection (Huang Ying) https://lkml.kernel.org/r/20220713083954.34196-1-ying.huang@intel.com This patchset implements a new hot page identification algorithm based on the latency between NUMA balancing page table scanning and hit page fault, so that it can be somewhat LFU algorithm instead of MRU algorithm.

LKML News v5.19-rc6

[PATCH v9 0/9] x86: Show in sysfs if a memory node is able to do encryption (Martin Fernandez) https://lkml.kernel.org/r/20220704135833.1496303-1-martin.fernandez@eclypsium.com This patchset makes each memory descriptor node to show if it has the EFI_MEMORY_CPU_CRYPRO attribute. [PATCH v3] arm64: enable THP_SWAP for arm64 (Barry Song) https://lkml.kernel.org/r/20220706072707.114376-1-21cnbao@gmail.com THP_SWAP, which dealys the split of THP for swap, includes swap throughput and architecture independent, but enabled on x86_64 only. This patch enables it on arm64.

LKML News v5.19-rc5

[PATCH v3] docs: rename Documentation/vm to Documentation/mm (Mike Rapoport) https://lkml.kernel.org/r/20220627060026.180439-1-rppt@kernel.org As the subject says, this commit renames the Documentation/vm directory to Documentation/mm. [PATCH v6 0/4] KVM: mm: count KVM mmu usage in memory stats (Yosry Ahmed) https://lkml.kernel.org/r/20220628220938.3657876-1-yosryahmed@google.com This patchset allows users account KVM mmu usages with NR_SECONDARY_PAGETABLE memory stat. [RFC PATCH] mm/slub: enable debugging memory wasting of kmalloc (Feng Tang) https://lkml.kernel.org/r/20220630014715.73330-1-feng.tang@intel.com As kmalloc allocates memory in power of 2 granularity, it could waste a lot of memory.

LKML News v5.19-rc4

[PATCH Part2 v6 00/49] Add AMD Secure Nested Paging (SEV-SNP) (Ashsh Kalra) https://lkml.kernel.org/r/cover.1655761627.git.ashish.kalra@amd.com This is second part patchset of Secure Encrypted Paging (SEV-SNP) work, which focuses on the changes required in a host OS for the feature support. [PATCH v7 00/12] mm/demotion: Memory tiers and demotion (Aneesh Kumar K.V) https://lkml.kernel.org/r/20220622082513.467538-1-aneesh.kumar@linux.ibm.com This patchset improves memory tiers construction to be more explicit and flexible, and memory allocation for demotion to have no change.

LKML News v5.19-rc3

[PATCH 0/8] Extend DAMOS for Proactive LRU-lists Sorting (SeongJae Park) https://lkml.kernel.org/r/20220613192301.8817-1-sj@kernel.org After the RFC, official patchset for DAMON-based LRU-lists sorting has posted. This immediately merged in the -mm tree. [PATCH v12 00/14] Multi-Gen LRU Framework (Yu Zhao) https://lkml.kernel.org/r/20220614071650.206064-1-yuzhao@google.com A new version of MGLRU has posted. Compared to the previous version, this version fixes a bug and nits, and contains new test results based on v5.19-rc1. Maintainer’s / Kernel Summit 2022 CFP (Theodore Ts’o) https://lkml.

LKML News v5.19-rc2

[PATCH v3 0/6] introduce mirrored memory support for arm64 (Wupeng Ma) https://lkml.kernel.org/r/20220607093805.1354256-1-mawupeng1@huawei.com This patchset adds memory mirroring support, which relies on UEFI and used to separate memory into two separate channels, to arm64. [PATCH] mm: mempolicy: N:M interleave policy for tiered memory nodes (Johannes Weiner) https://lkml.kernel.org/r/20220607171949.85796-1-hannes@cmpxchg.org Current pages NUMA-interleaving policy is 1:1 mapping, 1 for CPU node, 1 for remote note. As more types of tiered memory systems having CPU-less memory nodes are coming, this patchset introduces an N:M interleave policy, which N pages are allocated from the top-tier node while M pages are allocated from low-tier nodes.