kernel

LKML News v6.1

[PATCH v3] [mm-unstable] mm: Fix memcg reclaim on memory tiered systems (Mina Almasry) https://lkml.kernel.org/r/20221206023406.3182800-1-almasrymina@google.com There was a patch for enabling demotion via memory.reclaim memcg file. It made try_to_free_mem_cgroup_pages() behavior changed. As the changed behavior is somewhat the users of the caller didn’t expect, this patch fixes it. [PATCHv8 00/14] mm, x86/cc: Implement support for unaccepted memory (Kirill A. Shutemov) https://lkml.kernel.org/r/20221207014933.8435-1-kirill.shutemov@linux.intel.com Some confidential VM approaches like Intel TDX or AMD SEV-SNP requires the guests to accept memory that they will use before use.

LKML News v6.1-rc8

[PATCH 1/2] lockdep: allow instrumenting lockdep.c with KMSAN (Alexander Potapenko) https://lkml.kernel.org/r/20221128094541.2645890-1-glider@google.com Lockdep and KMSAN are known to work together nowadays, though it could make kernel run slower. This patch fixes KMSAN’s false positives on wq_head->lock->dep_map. [PATCH] mm/huge_memory: add TRANSPARENT_HUGEPAGE_NEVER for THP (ye xingchen) https://lkml.kernel.org/r/202211301651462590168@zte.com.cn This patch adds a new kernel config called TRANSPARENT_HUGEPAGE_NEVER, which will set the value of /sys/kernel/mm/transparent_hugepage/enabled [never]. [RFC PATCH v2] mm: Add nodes= arg to memory.reclaim (Mina Almasry) https://lkml.

LKML News v6.1-rc7

[PATCH 00/12] Introduce CONFIG_SLUB_TINY and deprecate SLOB (Vlastimil Babka) https://lkml.kernel.org/r/20221121171202.22080-1-vbabka@suse.cz Vlastimil has posted a mail[1] for a discussion about SLOB deprecation. As no one has objected at the idea so far, Vlastimil has sent a patchset for that. [1] https://lore.kernel.org/all/b35c3f82-f67b-2103-7d82-7a7ba7521439@suse.cz/ [RFC PATCH v1 0/4] Introduce merge identical pages mechanism (Alexey Romanov) https://lkml.kernel.org/r/20221121190020.66548-1-avromanov@sberdevices.ru This RFC patchset introduces a mechanism for merging identical compressed pages, which could be common in zram like use cases.

LKML News v6.1-rc6

[PATCH] mm: Make drop_caches keep reclaiming on all nodes (Jan Kara) https://lkml.kernel.org/r/20221115123255.12559-1-jack@suse.cz drop_caches works in somewhat loop-until-no-progress manner. It could result in not so aggressive reclamation. This patch makes it to continue reclamation on other node until every node makes no progress. [RFC][PATCH 0/4] cachestat: a new syscall for page cache state of files (Nha Pham) https://lkml.kernel.org/r/20221115182901.2755368-1-nphamcs@gmail.com Users can know the cache state of files using mincore() system call, but it scales bad for large files.

LKML News v6.1-rc5

[PATCH v2] mm: anonymous shared memory naming (Pasha Tatashin) https://lkml.kernel.org/r/20221107184715.3950621-1-pasha.tatashin@soleen.com Second version of the patch for allowing shared anonymous memory mapping naming has posted. Deprecating and removing SLOB (Vlastimil Babka) https://lkml.kernel.org/r/b35c3f82-f67b-2103-7d82-7a7ba7521439@suse.cz Vlastimil is describing his proposal for removing SLOB, mainly for the code maintenance overhead, and trying to continue discussions for that. [PATCH 1/4] mm: introduce ‘encoded’ page pointers with embedded extra bits (Linus Torvalds) https://lkml.kernel.org/r/20221109203051.1835763-1-torvalds@linux-foundation.org Linus Torvalds has posted a patchset for a new type called struct encoded_page, which is for struct page pointers having extra flags in it.

LKML News v6.1-rc4

[PATCH -next] mm/page_reporting: change page_reporting_param_ops to static (Yang Yingliang) https://lkml.kernel.org/r/20221101070022.1930028-1-yangyingliang@huawei.com This patch makes page_reporting_param_ops static, as it’s used in only the c file. [RFC PATCH] mm: introduce accounting of page_owner via backtrace (Zhoyang Huang) https://lkml.kernel.org/r/1667390781-17515-1-git-send-email-zhaoyang.huang@unisoc.com This RFC patchset accounts and sorts page_owner output via its backtrace for simplifying it. [PATCH v6 0/5] THP Shrinker (Alexander Zhu) https://lkml.kernel.org/r/cover.1667454613.git.alexlzhu@fb.com The patchset for THP shrinking, which aims to reduce memory waste due to the THP underutilization, has revised again to the sixth version.

LKML News v6.1-rc3

[PATCH] swap: add a limit for readahead page-cluster value (Kairu Song) https://lkml.kernel.org/r/20221023162533.81561-1-ryncsn@gmail.com /proc/sys/vm/page-cluster could overflow because it has no upper limit. This patch set its upper-limit as 2**31, so that at most 2**31 pages could be read in at once. [PATCH 0/1] Dead stores in maple-tree (Lukas Bulwahn) https://lkml.kernel.org/r/20221026120029.12555-1-lukas.bulwahn@gmail.com This patch fixes some dead stores of maple tree that reported by clang analyzer. [PATCH v6 00/21] TDX host kernel support (Kai Huang) https://lkml.

LKML News v6.1-rc2

[RFC PATCH] mm: Introduce new MADV_NOMOVABLE behavior (Baolin Wang) https://lkml.kernel.org/r/bc27af32b0418ed1138a1c3a41e46f54559025a5.1665991453.git.baolin.wang@linux.alibaba.com This RFC patch introduces a new madvise() hint called MADV_NOMOVABLE for long-term pinning of memory. [PATCH 0/4] Add MADV_COLLAPSE documentation (Zach O’Keefe) https://lkml.kernel.org/r/20221017175523.2048887-1-zokeefe@google.com This patchset adds documentation of MADV_COLLAPSE, which is a new madvise() hint that merged in v6.1. [PATCH v4 0/3] THP Shrinker (Alexander Zhu) https://lkml.kernel.org/r/cover.1666150565.git.alexlzhu@fb.com Alexander posted the fourth version of THP shrinker, which aims to reduce the THP memory inefficiency due to the THP internal fragmentation.

My 10th anniversary of the Linux kernel contribution

Today is the 10th anniversary of my Linux kernel contribution. Including the tiny and trivial patch, I made 381 patches merged in the mainline during the 10 years. $ git log --author SeongJae --reverse commit cf174b0ef52ad8184779e1da4132e2d9d17247e5 Author: SeongJae Park <sj38.park@gmail.com> Date: Tue Oct 16 16:47:50 2012 +0900 staging: csr: csr_framework_ext_types.h: fix coding style Fix coding style of csr_framework_ext_types.h Signed-off-by: SeongJae Park <sj38.park@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> [...] $ git log --author SeongJae --oneline | wc -l 381 I’m looking forward to the next 10 years.

LKML News v6.1-rc1

[RFC UKL 00/10] Unikernel Linux (UKL) (Ali Raza) https://lkml.kernel.org/r/20221003222133.20948-1-aliraza@bu.edu This RFC patchset introduces a research project called Unikernel Linux which integrates application specific optimization to the Linux kernel. It links an application directly with kernel and runs it in the supervisor mode. [PATCH v6] mm: add zblock - new allocator for use via zpool API (Ananda) https://lkml.kernel.org/r/20221005053302.30387-1-a.badmaev@clicknet.pro This patchset introduces a new allocator for zpool API. The author says it is better than zsmalloc in terms of worst execution time and therefore good at real-time usage.