mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Vlastimil Babka (SUSE)" <vbabka@kernel.org>
To: Harry Yoo <harry@kernel.org>
Cc: Hao Li <hao.li@linux.dev>, Christoph Lameter <cl@gentwo.org>,
	 David Rientjes <rientjes@google.com>,
	 Roman Gushchin <roman.gushchin@linux.dev>,
	 "David Hildenbrand (Arm)" <david@kernel.org>,
	linux-mm@kvack.org,  linux-kernel@vger.kernel.org,
	"Vlastimil Babka (SUSE)" <vbabka@kernel.org>,
	 Chris Mason <mason@kernel.org>,
	stable@vger.kernel.org,  stable@vger.kernel.orG
Subject: [PATCH 0/4] slab AI fixes
Date: Fri, 27 Nov 2026 21:12:29 +0100	[thread overview]
Message-ID: <20261127-slab-ai-fixes-v1-0-cf13b6be6692@kernel.org> (raw)

A bunch of fixes that are marked for stable but not really urgent, based
on patches from Chris Mason, dispatched to slab maintainers by David.

This batch is based on (and intended for) slab/for-7.5/misc

Two fixes for sheaf refill with __GFP_NOFAIL allocations and sheaf
preallocation. Those I've rewritten completely compared to the original
proposals. May improve slab behavior a bit under low memory conditions.

Two fixes related to the rather obscure slub_debug=O boot option, which
can in theory negatively suprise someone trying to use that mode.

Nothing of this should be an exploitable vulnerability, really.

Signed-off-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
---
Chris Mason (2):
      mm/slab: keep caches that drop debug flags unmergeable
      mm/slab: clear stale layout values in calculate_sizes()

Vlastimil Babka (SUSE) (2):
      mm/slab: drop __GFP_NOFAIL when refilling sheaves
      mm/slab: handle __GFP_NOFAIL better with prefilled sheaves

 mm/slub.c | 35 ++++++++++++++++++++++++++++-------
 1 file changed, 28 insertions(+), 7 deletions(-)
---
base-commit: 152bb61a6134d1d2b736cead67f653ce57ba559b
change-id: 20261127-slab-ai-fixes-a0b04d767c9b


             reply	other threads:[~2026-11-27 20:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 20:12 Vlastimil Babka (SUSE) [this message]
2026-11-27 20:12 ` [PATCH 1/4] mm/slab: drop __GFP_NOFAIL when refilling sheaves Vlastimil Babka (SUSE)
2026-11-27 20:12 ` [PATCH 2/4] mm/slab: handle __GFP_NOFAIL better with prefilled sheaves Vlastimil Babka (SUSE)
2026-11-27 20:12 ` [PATCH 3/4] mm/slab: keep caches that drop debug flags unmergeable Vlastimil Babka (SUSE)
2026-11-27 20:12 ` [PATCH 4/4] mm/slab: clear stale layout values in calculate_sizes() Vlastimil Babka (SUSE)

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=20261127-slab-ai-fixes-v1-0-cf13b6be6692@kernel.org \
    --to=vbabka@kernel.org \
    --cc=cl@gentwo.org \
    --cc=david@kernel.org \
    --cc=hao.li@linux.dev \
    --cc=harry@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mason@kernel.org \
    --cc=rientjes@google.com \
    --cc=roman.gushchin@linux.dev \
    --cc=stable@vger.kernel.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®