lkml news

LKML News v6.11-rc6

[RFC PATCH -next 0/3] fs: Introduce the scope-based resource management for folio_lock/unlock (Li Zetao) https://lore.kernel.org/20240826071036.2445717-1-lizetao1@huawei.com Li proposes scope-based resource management for folio locking. [PATCH 0/2] get rid of PF_MEMALLOC_NORECLAIM (Michal Hocko) https://lore.kernel.org/20240826085347.1152675-1-mhocko@kernel.org Michal argues PF_MEMALLOC_NORECLAIM has merged even though MM people pushed it back, and attempts to get rid of it by updating its users to use explicit GFP_NOWAIT allocation context. [PATCH] bcachefs: Switch to memalloc_flags_do() for vmalloc allocations (Kent Overstreet) https://lore.

LKML News v6.11-rc5

[PATCH v4 0/6] mm: split underused THPs (Usama Arif) https://lore.kernel.org/20240819023145.2415299-1-usamaarif642@gmail.com Yusama posted the fourth version of the patch series for splitting underutilized THPs for keeping THP performance gain while reducing the huge page internal fragmentation-cuased memory usage bloat. [PATCH 0/5] page allocation tag compression (Suren Baghdasaryan) https://lore.kernel.org/20240819151512.2363698-1-surenb@google.com Suren sent a patch series for improving page allocation tagging. [PATCH 0/4] Increase the number of bits available in page_type (Matthew Wilcox) https://lore.kernel.org/20240821173914.2270383-1-willy@infradead.org

LKML News v6.11-rc4

[PATCH v3 0/6] mm: split underutilized THPs (Usama Arif) https://lore.kernel.org/20240813120328.1275952-1-usamaarif642@gmail.com Usama posted the third version of THP split patch series. [PATCH] Reenable NUMA policy support in the slab allocator (Christoph Lameter) https://lore.kernel.org/20240812-numa_policy-v1-1-1732602b976c@gentwo.org Christoph sent a patch that reverts previous commit that disabled the numa policy support in the slab allocator. [RFC PATCH v1 0/4] mm: ZSWAP swap-out of mTHP folios (Kanchan P Sridhar) https://lore.kernel.org/20240814062830.26833-1-kanchana.p.sridhar@intel.com Kanchan sent an RFC patch series for enabling zswap_store() storing mTHP folios.

LKML News v6.11-rc3

[PATCH 00/10] mm: remove vma_merge() (Lorenzo Stoakes) https://lore.kernel.org/cover.1722849859.git.lorenzo.stoakes@oracle.com Lorenzo posted a patchset for removing the infamous vma_merge(), which caused too much complexity, and the prior attempt remove it was failed. [RFC PATCH 0/4] mm/arm64: re-enable HVO (Yu Zhao) https://lore.kernel.org/20240806022114.3320543-1-yuzhao@google.com Yu sent an RFC patchset for re-enabling HugeTLB Vmemmap Optimization on arm64. [PATCH 00/10] Introduce guestmemfs: persistent in-memory filesystem (James Gowans) https://lore.kernel.org/20240805093245.889357-1-jgowans@amazon.com James Gowans posted a patch series for a new in-memory filesystem that designed for live update.

LKML News v6.11-rc2

[RFC 0/2] mm: introduce THP deferred setting (Nico Pache) https://lore.kernel.org/20240729222727.64319-1-npache@redhat.com Nico found increased memory footprint from THP after their customers switching from RHEL7 to RHEL8. To mitigate the issue, Nico is proposing adding a new THP configuration called deferred. It is same to madvise but allows khugepaged to do the work. [PATCH v2 0/4] mm: clarify nofail memory allocation (Barry Song) https://lore.kernel.org/20240731000155.109583-1-21cnbao@gmail.com Barry posted the second version of their patchset for __GFP_NOFAIL clarification.

LKML News v6.11-rc1

[PATCH 00/17] mm: introduce numa_memblks (Mike Rapoport) https://lore.kernel.org/20240716111346.3676969-1-rppt@kernel.org Mike Rapoport posted thi spatchset for moving numa_memblks from x86 to the generic code, as a followup of the discussion for CXL memory windows handling on arm64. [RFC PATCHv2] mm: introduce reclaim throttle in MGLRU (Zhaoyang Huang) https://lore.kernel.org/20240716094348.2451312-1-zhaoyang.huang@unisoc.com Zhaoyang sent a patch that makes direct reclaim of MGLRU be throttled by judging the number of isolated and inactive folios, to prevent issues similar to classic LRU.

LKML News v6.10

[RFC][PATCH 0/4] slab: Allow for type introspection during allocation (Kees Cook) https://lore.kernel.org/20240708190924.work.846-kees@kernel.org Kees posted this RFC patch, which allows kmalloc() be able to know the type of the object that it is requested to allocate memory for. It is done by letting kmalloc() optionally receives the pointer instead of the size. [Invitation] Linux MM Alignment Session on guest_memfd() mapping, hugepages, and page pinning on Wednesday https://lore.kernel.org/197a2f19-c71c-fbde-a62a-213dede1f4fd@google.com David invites MM community to another instance of the MM alignment.

LKML News v6.10-rc7

[RFC PATCH 0/4] Introduce PMC(PER-MEMCG-CACHE) (Huan Yang) https://lore.kernel.org/20240702084423.1717904-1-link@vivo.com Huan posted an RFC for per-memcg-cache, which is for utilizing per-memcg cache of certain rules. The goal is allowing memory that released by an application be allocated with high priority within the application, to improve locality and performance while avoiding unnecessary memory reclamation. [PATCH] mm: remove CONFIG_MEMCG_KMEM (Johannes Weiner) https://lore.kernel.org/20240701153148.452230-1-hannes@cmpxchg.org Since CONFIG_MEMCG_KMEM was default-enabled and equivalent to CONFIG_MEMCG for almost a decade, Johannes tries to remove the config option.

LKML News v6.10-rc6

[PATCH] memcg: Add a new sysctl parameter for automatically setting memory.high (Waiman Long) https://lore.kernel.org/20240623204514.1032662-1-longman@redhat.com While memcg v1 has only single file for memory limit setting, namely memory.limit_in_bytes, memcg v2 has two files, memory.max and memory.high for the purpose. Users migrating from memcg v1 to memcg v2 usually sets only memory.max, and hence get problems sometimes. This patch add a new knob, memory_high_autoset_ratio, which allows setting memory.high as a ratio of memory.

LKML News v6.10-rc5

[GIT PULL] hotfixes for 6.10-rc5 (Andrew Morton) https://lore.kernel.org/20240617114712.45d4743f8bacb832dea4b5a9@linux-foundation.org Andrew posted hotfixes pull request to Linus Torvalds. [PATCH] Add accumulated call counter for memory allocation profiling (David Wang) https://lore.kernel.org/20240617153250.9079-1-00107082@163.com David sent a patch for adding accumulated call counter for memory allocation profiling. He argues this could help performance behaviors analysis. [RFC PATCH v1 0/5] Alternative mTHP swap allocator improvements (Ryan Roberts) https://lore.kernel.org/20240618232648.4090299-1-ryan.roberts@arm.com Ryan posted this proof-of-concept patchset for achieving 0% fallback at mTHP swap.