Re: [PATCH 1/1] slab: ensure slab->obj_exts is clear in a newly allocated slab page

From: Vlastimil Babka
Date: Mon Apr 14 2025 - 06:27:27 EST


On 4/11/25 19:45, Suren Baghdasaryan wrote:
> On Fri, Apr 11, 2025 at 9:59 AM Suren Baghdasaryan <surenb@xxxxxxxxxx> wrote:
>
> Kent asked me to forward this (his email is misbehaving for some reason):
>
> Yes, ktest doesn't flip on CONFIG_MEMCG.
>
> Those checks you're talking about are also behind CONFIG_DEBUG_VM,
> which isn't normally on. I did do some runs with it on and it didn't

Hm yes I forgot we moved them to be DEBUG_VM or debug_pagealloc only.

> fire - only additional asserts Suren and I added - so something's
> missing.
>
> In the meantime, this needs to go in quickly as a hotfix because it's
> a 6.15-rc1 regression, and I've been getting distros to enable memory
> allocation profiling and I'd be shocked if it doesn't cause memcg
> crashes as well.

I'll send it this week so rc3.