news

LKML News v6.4-rc5

[PATCH 00/12] mm: free retracted page table by RCU (Hugh Dickins) https://lkml.kernel.org/r/35e983f5-7ed3-b310-d949-9ae8b130cdab@google.com This patchset aims to reduce mmap_lock contention by freeing retracted page table by RCU, with preceding and succeeding patchsets. This patchset was in Google data center kernel for three years. [PATCH] mm: madvise: fix uneven accounting of psi (Charan Teja Kalla) https://lkml.kernel.org/r/1685531374-6091-1-git-send-email-quic_charante@quicinc.com For madvise(MADV_PAGEOUT) is called for folios, PSI for the folio is not always accounted. This patchset makes it be consistent by always not considering PSI for folios that are reclaimed through madvise(MADV_PAGEOUT).

LKML News v6.4-rc4

[PATCH 0/9] Mitigate a vmap lock contention (Uladzislau Rezki) https://lkml.kernel.org/r/20230522110849.2921-1-urezki@gmail.com Uladzislau sent a patchset for vmap lock contention mitigation, as suggested at LSFMM+BPF. [PATCH] mm: deduct the number of pages reclaimed by madvise from workingset (Zhaoyang Huang) https://lkml.kernel.org/r/1684919574-28368-1-git-send-email-zhaoyang.huang@unisoc.com Pages reclaimed by madvise() with MADV_PAGEOUT hint doesn’t handle the workingset, hence leads to large refault distance than it should be. This patch addresses the case by making reclaim_pages() to receive mm_struct and deduct the pages from workingset.

LKML News v6.4-rc3

[PATCH v3 00/11] Introduce cmpxchg128() – aka. the demise of cmpxchg_double() (Peter Zijlstra) https://lkml.kernel.org/r/20230515075659.118447996@infradead.org This patchset introduces an alternative for cmpxchg_double(), namely cmpxchg128(), and replace the old usages of cmpxchg_double(). This is because Linus hates cmpxchg_double()[1]. [1] https://lore.kernel.org/all/Y2U3WdU61FvYlpUh@hirez.programming.kicks-ass.net/T/#u [PATCH 0/6] Memory Mapping (VMA) protection using PKU - set 1 (Jeff Xu) https://lkml.kernel.org/r/20230515130553.2311248-1-jeffxu@chromium.org [Invitation] Linux MM Alignment Session on Code Tagging on Wednesday (David Rientjes) https://lkml.kernel.org/r/CAE-26VDomF_pZybGjgCBJZuWusX0z3MTEJmkwtuQXx3PyrN6fw@mail.gmail.com Google is hosting Linux MM alignment session.

LKML News v6.4-rc2

[PATCH 0/2] Optimization of CMA allocation and reclaiming (Zhaoyang Huang) https://lkml.kernel.org/r/1683538383-19685-1-git-send-email-zhaoyang.huang@unisoc.com This patchset avoids being OOMed when all free pages are composed of CMA. [RFC PATCH 0/2] mm: Working Set Reporting (Yuanchu Xie) https://lkml.kernel.org/r/20230509185419.1088297-1-yuanchu@google.com This RFC patch adds working set size reporting structure for each node and total, using MGLRU as its core, and extends virtio-balloon for letting the host get the information. [PATCH] MAINTAINERS: repair pattern in DIALOG SEMICONDUCTOR DRIVERS (Lukas Bulwahn) https://lkml.

DAMON News List

Below is a list of news around DAMON project. This list is not exhaustive but just a DAMON maintainer’s collection of news. If you find a news that should be added to this list, please let us know at sj@kernel.org and/or damon@lists.linux.dev. 2024 2024-08-14: GitHub repos for non-kernel parts of DAMON project including ‘damo’, ‘damon-tests’ and ‘damoos’ will be moved from ‘awslabs’ to ‘damonitor', by 2024-09-05 2024-07-29: VLDB paper about Aurora Serverless V2, which reveals their usage of DAMON on the product, is now available.

LKML News v6.4-rc1

[PATCH v2 0/2] Reduce lock contention related with large folio (Yin Fengwei) https://lkml.kernel.org/r/20230425084627.3573866-1-fengwei.yin@intel.com Ryan found large anonymous folios exposes some lock contention unlike large page cache folios, because anonymous mapping is allocated/freed more frequently. This patchset mitigates the lock contention by avoid acquiring queue lock unnecessarily, and allowing batched large folio list adds to lru list. [PATCH v2 0/3] fs: multigrain timestamps (Jeff Layton) https://lkml.kernel.org/r/20230424151104.175456-1-jlayton@kernel.org This patchset makes file system to support not single-gran timestamp but multi-gran timestamps.

LKML News v6.3

[PATCH 00/33] Split ptdesc from struct page (Vishal Moola) https://lkml.kernel.org/r/20230417205048.15870-1-vishal.moola@gmail.com To reduce the struct page overhead, which is about 1.5% of the whole system memory, people are working on to reduce some fileds in struct page. As one of the approach, this patchset prepares for splitting ptdesc from struct page. [RFC PATCH v1 0/5] Introduce objects folding mechanism (Alexey Romanov) https://lkml.kernel.org/r/20230418062503.62121-1-avromanov@sberdevices.ru This patchset adds a feature which allowing folding identical zsmalloc objects into single one.

LKML News v6.3-rc7

[PATCH v5] mm: oom: introduce cpuset oom (Gang Li) https://lkml.kernel.org/r/20230411134539.45046-1-ligang.bdlg@bytedance.com This patch makes oomkiller to aware of numa nodes of processes that assigned via cpuset so that real memory pressure tirggeered process can be picked as victim of the pressure. [LSF/MM/BPF TOPIC] Reducing zombie memcgs (T.J. Mercier) https://lkml.kernel.org/r/CABdmKX2M6koq4Q0Cmp_-=wbP0Qa190HdEGGaHfxNS05gAkUtPA@mail.gmail.com Memcg lives in the kernel until the reference count drops to zero, even if it’s removed by userspace. This zombie-like memcg consumes system resource and makes kernel operations that get affected by the total number of memcg less efficient.

LKML News v6.3-rc6

[PATCH 0/6] Avoid the mmap lock for fault-around (Matthew Wilcox) https://lkml.kernel.org/r/20230404135850.3673404-1-willy@infradead.org A patchset for gradually pushing the mmap lock down. No specific regression found, but also no special performance improvement measured. [PATCH] memcg-v1: Enable setting memory min, low, high (Shaun Tancheff) https://lkml.kernel.org/r/20230405110107.127156-1-shaun.tancheff@gmail.com For users who cannot update to memcg v2, this patch provides a way for memcg v1 to effectively apply memory pressure, which can be used for effectively throttle file I/O.

LKML News v6.3-rc5

[PATCH] LoongArch: Add kernel address sanitizer support (Qing Zhang) https://lkml.kernel.org/r/20230328111714.2056-1-zhangqing@loongson.cn Loongarch has arch specific memory holes and mapping formula. This patch adds kasan support for Loongarch. [PATCH v2 0/7] Split a folio to any lower order folios (Zi Yan) https://lkml.kernel.org/r/20230329011712.3242298-1-zi.yan@sent.com Currently, split_huge_page() splits huge page to only order 0 pages. This patchset adds support of splitting a huge page to any lower order pages. [PATCHv9 00/14] mm, x86/cc: Implement support for unaccepted memory (Kirill A.