All of lore.kernel.org
 help / color / mirror / Atom feed
* [7.1.y 0/3] mm/slab: fix unbounded recursion in free path with memalloc profiling
@ 2026-08-01 12:25 Harry Yoo
  2026-08-01 12:25 ` [7.1.y 1/3] mm/slab: decouple SLAB_NO_SHEAVES from SLAB_NO_OBJ_EXT Harry Yoo
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Harry Yoo @ 2026-08-01 12:25 UTC (permalink / raw)
  To: Danielle Costantino, Shakeel Butt, Suren Baghdasaryan, Hao Ge,
	Vlastimil Babka, Harry Yoo, Andrew Morton, Hao Li,
	Christoph Lameter, David Rientjes, Roman Gushchin, Kees Cook,
	Pedro Falcato, Liam R . Howlett
  Cc: linux-mm, linux-kernel, stable

From: "Harry Yoo" <harry@kernel.org>

This is backport of "mm/slab: fix unbounded recursion in free path with
memalloc profiling" series [1] for 7.1.

The last patch has a slight functional difference compared to mainline
due to lack of SLAB_ALLOC_* flags. I described those subtlties in the
backporting notes in detail.

[1] https://lore.kernel.org/all/20260713-kmalloc-no-objext-v3-0-47c7bd138de7@kernel.org

Harry Yoo (Oracle) (3):
  mm/slab: decouple SLAB_NO_SHEAVES from SLAB_NO_OBJ_EXT
  lib/alloc_tag: introduce mem_alloc_profiling_permanently_disabled()
  mm/slab: prevent unbounded recursion in free path with new kmalloc
    type

 include/linux/alloc_tag.h |  3 ++
 include/linux/slab.h      | 19 +++++++-
 lib/alloc_tag.c           |  9 ++++
 mm/slab.h                 | 28 ++++++++++-
 mm/slab_common.c          | 13 ++++++
 mm/slub.c                 | 97 +++++++++++++++------------------------
 6 files changed, 104 insertions(+), 65 deletions(-)

-- 
2.53.0



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

end of thread, other threads:[~2026-08-01 12:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-01 12:25 [7.1.y 0/3] mm/slab: fix unbounded recursion in free path with memalloc profiling Harry Yoo
2026-08-01 12:25 ` [7.1.y 1/3] mm/slab: decouple SLAB_NO_SHEAVES from SLAB_NO_OBJ_EXT Harry Yoo
2026-08-01 12:25 ` [7.1.y 2/3] lib/alloc_tag: introduce mem_alloc_profiling_permanently_disabled() Harry Yoo
2026-08-01 12:25 ` [7.1.y 3/3] mm/slab: prevent unbounded recursion in free path with new kmalloc type Harry Yoo
2026-08-01 12:46 ` [7.1.y 0/3] mm/slab: fix unbounded recursion in free path with memalloc profiling Harry Yoo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.