lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1444c957-08c6-46f1-bcf7-da5211bfff1a@suse.cz>
Date: Sun, 30 Nov 2025 22:20:34 +0100
From: Vlastimil Babka <vbabka@...e.cz>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
 Harry Yoo <harry.yoo@...cle.com>, David Rientjes <rientjes@...gle.com>,
 Christoph Lameter <cl@...two.org>, Roman Gushchin
 <roman.gushchin@...ux.dev>, "linux-mm@...ck.org" <linux-mm@...ck.org>,
 LKML <linux-kernel@...r.kernel.org>, Matthew Wilcox <willy@...radead.org>,
 Christoph Hellwig <hch@...radead.org>, Nathan Chancellor
 <nathan@...nel.org>, Nicolas Schier <nicolas@...sle.eu>,
 Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>
Subject: [GIT PULL] slab updates for 6.19

Hi Linus,

please pull the latest slab updates from:

  git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-6.19

Similarly to the VFS pull, part of the changes here are based on a merge of
the kbuild-ms-extensions-6.19 tag from the kbuild tree, so pulling kbuild
(or VFS) first would avoid pulling those via this PR.

Thanks,
Vlastimil

======================================

- mempool_alloc_bulk() support for upcoming users in the block layer that need
  to allocate multiple objects at once with the mempool's guaranteed progress
  semantics, which is not achievable with an allocation single objects in a
  loop. Along with refactoring and various improvements. (Christoph Hellwig)

- Preparations for the upcoming separation of struct slab from struct page,
  mostly by removing the struct folio layer, as the purpose of struct folio
  has shifted since it became used in slab code. (Matthew Wilcox)

- Modernisation of slab's boot param API usage, which removes some unexpected
  parsing corner cases. (Petr Tesarik)

- Refactoring of freelist_aba_t (now struct freelist_counters) and associated
  functions for double cmpxchg, enabled by -fms-extensions. (Vlastimil Babka)

- Cleanups and improvements related to sheaves caching layer, that were part
  of the full conversion to sheaves, which is planned for the next release.
  (Vlastimil Babka)

----------------------------------------------------------------
Baolin Liu (1):
      mm: simplify list initialization in barn_shrink()

Christoph Hellwig (11):
      fault-inject: make enum fault_flags available unconditionally
      mm: improve kerneldoc comments for __alloc_pages_bulk
      mempool: improve kerneldoc comments
      mempool: add error injection support
      mempool: factor out a mempool_adjust_gfp helper
      mempool: factor out a mempool_alloc_from_pool helper
      mempool: add mempool_{alloc,free}_bulk
      mempool: legitimize the io_schedule_timeout in mempool_alloc_from_pool
      mempool: remove mempool_{init,create}_kvmalloc_pool
      mempool: de-typedef
      mempool: drop the file name in the top of file comment

Matthew Wilcox (Oracle) (17):
      slab: Reimplement page_slab()
      slab: Remove folio references from __ksize()
      slab: Remove folio references in memcg_slab_post_charge()
      slab: Remove folio references in slab alloc/free
      slab: Remove folio references from ___kmalloc_large_node()
      slab: Remove folio references from free_large_kmalloc()
      slab: Remove folio references from kvfree_rcu_cb()
      slab: Remove folio references from kfree()
      slab: Remove folio references from __do_krealloc()
      slab: Remove folio references from build_detached_freelist()
      slab: Remove folio references from kfree_rcu_sheaf()
      slab: Remove folio references from kfree_nolock()
      usercopy: Remove folio references from check_heap_object()
      memcg: Convert mem_cgroup_from_obj_folio() to mem_cgroup_from_obj_slab()
      kasan: Remove references to folio in __kasan_mempool_poison_object()
      slab: Remove references to folios from virt_to_slab()
      slab: Remove unnecessary call to compound_head() in alloc_from_pcs()

Nathan Chancellor (2):
      jfs: Rename _inline to avoid conflict with clang's '-fms-extensions'
      kbuild: Add '-fms-extensions' to areas with dedicated CFLAGS

Petr Tesarik (3):
      slab: constify slab debug strings
      slab: convert setup_slub_debug() to use __core_param_cb()
      slab: use new API for remaining command line parameters

Rasmus Villemoes (1):
      Kbuild: enable -fms-extensions

Thomas Weißschuh (1):
      mempool: clarify behavior of mempool_alloc_preallocated()

Vlastimil Babka (15):
      slab: prevent infinite loop in kmalloc_nolock() with debugging
      slab: move kfence_alloc() out of internal bulk alloc
      slab: handle pfmemalloc slabs properly with sheaves
      slub: remove CONFIG_SLUB_TINY specific code paths
      slab: make __slab_free() more clear
      slab: prevent recursive kmalloc() in alloc_empty_sheaf()
      Merge tag 'kbuild-ms-extensions-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux into slab/for-6.19/freelist_aba_t_cleanups
      slab: separate struct freelist_tid from kmem_cache_cpu
      slab: turn freelist_aba_t to a struct and fully define counters there
      slab: use struct freelist_counters for local variables instead of struct slab
      slab: use struct freelist_counters as parameters in relevant functions
      Merge branch 'slab/for-6.19/sheaves_cleanups' into slab/for-next
      Merge branch 'slab/for-6.19/memdesc_prep' into slab/for-next
      Merge branch 'slab/for-6.19/freelist_aba_t_cleanups' into slab/for-next
      Merge branch 'slab/for-6.19/mempool_alloc_bulk' into slab/for-next

 Makefile                              |   3 +
 arch/arm64/kernel/vdso32/Makefile     |   3 +-
 arch/loongarch/vdso/Makefile          |   2 +-
 arch/parisc/boot/compressed/Makefile  |   2 +-
 arch/powerpc/boot/Makefile            |   3 +-
 arch/s390/Makefile                    |   3 +-
 arch/s390/purgatory/Makefile          |   3 +-
 arch/x86/Makefile                     |   4 +-
 arch/x86/boot/compressed/Makefile     |   7 +-
 drivers/firmware/efi/libstub/Makefile |   4 +-
 fs/jfs/jfs_incore.h                   |   6 +-
 include/linux/fault-inject.h          |   8 +-
 include/linux/gfp_types.h             |   6 -
 include/linux/mempool.h               |  58 ++-
 include/linux/page-flags.h            |  16 +-
 mm/kasan/common.c                     |  12 +-
 mm/kfence/core.c                      |  14 +-
 mm/memcontrol.c                       |  40 +-
 mm/mempool.c                          | 409 ++++++++++++--------
 mm/page_alloc.c                       |  15 +-
 mm/slab.h                             | 112 +++---
 mm/slab_common.c                      |  29 +-
 mm/slub.c                             | 700 +++++++++++++++++-----------------
 mm/usercopy.c                         |  24 +-
 scripts/Makefile.extrawarn            |   4 +-
 25 files changed, 792 insertions(+), 695 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ