linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Suren Baghdasaryan <surenb@google.com>
To: David Wang <00107082@163.com>
Cc: Vlastimil Babka <vbabka@suse.com>,
	vbabka@suse.cz, linux-mm@kvack.org,
	 linux-kernel@vger.kernel.org, Harry Yoo <harry.yoo@oracle.com>
Subject: Re: [7.0-rc1] codetag: kernel warning "alloc_tag was not set" during boot
Date: Mon, 23 Feb 2026 23:07:08 -0800	[thread overview]
Message-ID: <CAJuCfpEsykCarj6_k5T9EeLDfsA0fFL182g1hQ+tb-7EM=izsw@mail.gmail.com> (raw)
In-Reply-To: <37bbaa9.1831.19c8d7a2cac.Coremail.00107082@163.com>

On Mon, Feb 23, 2026 at 6:28 PM David Wang <00107082@163.com> wrote:
>
>
> At 2026-02-24 01:18:32, "Vlastimil Babka" <vbabka@suse.com> wrote:
> >On 2/23/26 16:51, David Wang wrote:
> >> Hi,
> >>
> >> When upgrade to 7.0.0-rc1, caught a kernel WARN during boot:
> >
> >Would this possibly help? (it probably shouldn't but let's see)
> >https://lore.kernel.org/all/20260223075809.19265-1-harry.yoo@oracle.com/
> >
>
> Hi,
> I tried this patch, but sadly, it doesn't help with the warning on my system...

Unfortunately I can't boot far enough with your config to get that warning.

You might be able to track down which allocation does not get its tag
by first checking for current->alloc_tag==NULL inside
__alloc_tagging_slab_alloc_hook() and dump the stack if that happens.
If there are no hits (which is probably what will happen) you can do
the same while checking for obj_exts==NULL. I suspect that condition
will hit multiple times and one of those will likely be the cause of
this warning. I'll look into this more tomorrow if the cause is not
found by then.

>
>
>


  reply	other threads:[~2026-02-24  7:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-23 15:51 David Wang
2026-02-23 17:18 ` Vlastimil Babka
2026-02-23 18:34   ` Suren Baghdasaryan
2026-02-24  1:56     ` David Wang
2026-02-24  2:15   ` Harry Yoo
2026-02-24  2:28   ` David Wang
2026-02-24  7:07     ` Suren Baghdasaryan [this message]
2026-02-24 11:15       ` David Wang
2026-02-24 14:16       ` Harry Yoo
2026-02-24 14:26         ` Harry Yoo

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='CAJuCfpEsykCarj6_k5T9EeLDfsA0fFL182g1hQ+tb-7EM=izsw@mail.gmail.com' \
    --to=surenb@google.com \
    --cc=00107082@163.com \
    --cc=harry.yoo@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=vbabka@suse.com \
    --cc=vbabka@suse.cz \
    /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