mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vlastimil Babka <vbabka@suse.cz>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Harry Yoo <harry.yoo@oracle.com>,
	David Rientjes <rientjes@google.com>,
	Christoph Lameter <cl@gentwo.org>,
	Roman Gushchin <roman.gushchin@linux.dev>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Matthew Wilcox <willy@infradead.org>,
	Christoph Hellwig <hch@infradead.org>,
	Nathan Chancellor <nathan@kernel.org>,
	Nicolas Schier <nicolas@fjasle.eu>,
	Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>
Subject: [GIT PULL] slab updates for 6.19
Date: Sun, 30 Nov 2025 22:20:34 +0100	[thread overview]
Message-ID: <1444c957-08c6-46f1-bcf7-da5211bfff1a@suse.cz> (raw)

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(-)

             reply	other threads:[~2025-11-30 21:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-30 21:20 Vlastimil Babka [this message]
2025-12-03 21:49 ` pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444c957-08c6-46f1-bcf7-da5211bfff1a@suse.cz \
    --to=vbabka@suse.cz \
    --cc=akpm@linux-foundation.org \
    --cc=cl@gentwo.org \
    --cc=harry.yoo@oracle.com \
    --cc=hch@infradead.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=nathan@kernel.org \
    --cc=nicolas@fjasle.eu \
    --cc=rientjes@google.com \
    --cc=roman.gushchin@linux.dev \
    --cc=torvalds@linux-foundation.org \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®