linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] slab updates for 7.0 part 2
@ 2026-02-16 16:50 Vlastimil Babka
  2026-02-16 22:11 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Vlastimil Babka @ 2026-02-16 16:50 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Andrew Morton, Harry Yoo, David Rientjes, Christoph Lameter,
	Roman Gushchin, linux-mm, LKML, Hao Li, Alexei Starovoitov

Hi Linus,

please pull the latest slab updates from:

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

There are two stable fixes for kmalloc_nolock() corner cases. The other two
patches are lifting a significant limitation of kmalloc_nolock() so that
kfree_rcu() can be used with it, and will allow bpf to start using this [1].

However they only went to -next a week ago so I want to be clear about it,
as I know it should have been there earlier for a non-strictly-fix changes.

[1] https://lore.kernel.org/all/CAADnVQ%2Bq3QPqNdV3MuysQJQgxSS4g6CV%2BVzN2%3DUqCPHw7xq%3DSQ@mail.gmail.com/

Thanks,
Vlastimil

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

- Two stable fixes for kmalloc_nolock() usage from NMI context (Harry Yoo)

- Allow kmalloc_nolock() allocations to be freed with kfree() and thus
  also kfree_rcu() and simplify slabobj_ext handling - we no longer need to
  track how it was allocated to use the matching freeing function (Harry
  Yoo)

----------------------------------------------------------------
The following changes since commit 815c8e35511d0b9a214e9f644983fe477af9d5cb:

  Merge branch 'slab/for-7.0/sheaves' into slab/for-next (2026-02-10 09:10:00 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 27125df9a5d3b4cfd03bce3a8ec405a368cc9aae:

  mm/slab: drop the OBJEXTS_NOSPIN_ALLOC flag from enum objext_flags (2026-02-10 11:39:30 +0100)

----------------------------------------------------------------
slab updates for 7.0 part2

----------------------------------------------------------------
Harry Yoo (4):
      mm/slab: do not access current->mems_allowed_seq if !allow_spin
      mm/slab: use prandom if !allow_spin
      mm/slab: allow freeing kmalloc_nolock()'d objects using kfree[_rcu]()
      mm/slab: drop the OBJEXTS_NOSPIN_ALLOC flag from enum objext_flags

 include/linux/memcontrol.h |  3 +-
 include/linux/rcupdate.h   |  4 +--
 mm/kmemleak.c              | 22 ++++++-------
 mm/slub.c                  | 80 ++++++++++++++++++++++++++++++++++++----------
 4 files changed, 76 insertions(+), 33 deletions(-)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-16 22:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-16 16:50 [GIT PULL] slab updates for 7.0 part 2 Vlastimil Babka
2026-02-16 22:11 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox