linux

LKML News v6.12-rc1

[GIT PULL] slab updates for 6.11 (Vlastimil Babka) https://lore.kernel.org/8d6c5d10-5750-4472-858c-eadc105453be@suse.cz Vlastimil sent the slab pull request for Linux 6.12-rc1. Apparently the title is a typo. [RFC PATCH 0/4] Add hazard pointers to kernel (Boqun Feng) https://lore.kernel.org/20240917143402.930114-1-boqun.feng@gmail.com Boqun posted a patch series for introducing hazard pointers for kernel space, which is “a scalable reference counting mechanism with RCU-like API”. [GIT PULL] hotfixes for 6.12-rc1 (Andrew Morton) https://lore.kernel.org/20240919003557.1777673c0f759f9e4ebaa328@linux-foundation.org Andrew sent a hotfixes pull request for 6.

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.

Creating DAMON logo using DAMON

I just made a DAMON logo using DAMON, like below. $ git clone https://github.com/sjp38/masim && cd masim $ cat damon_pixel_2 11111111 11 11 111111 11111111 11 11 11111111 11111111 1111 11111111 11111111 11 11 11111111 11111111 1111 11111111 $ ./pixels_to_access_config.py ./damon_pixel_2 $((100*1024*1024)) 300 damon.cfg $ sudo damo record "./masim ./configs/stairs.cfg" $ sudo damo report heatmap --output damon.png The output is below: The cropped one:

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.