linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Matt Fleming <mfleming@cloudflare.com>
To: Alexander Potapenko <glider@google.com>,
	Marco Elver <elver@google.com>,
	 Oscar Salvador <osalvador@suse.de>
Cc: linux-mm@kvack.org, Vlastimil Babka <vbabka@suse.cz>,
	 Andrew Morton <akpm@linux-foundation.org>,
	kernel-team <kernel-team@cloudflare.com>
Subject: stackdepot: Thoughts on increasing DEPOT_MAX_POOLS?
Date: Thu, 13 Mar 2025 19:37:41 +0000	[thread overview]
Message-ID: <CAGis_TX5862HYd_d0J=JFxAjG_Pd+yeyJ_8AbWQ9HBJGh3nZ0Q@mail.gmail.com> (raw)

Hi there,

I'm running a 6.12 kernel with KASAN enabled and it's triggering the
WARN in depot_init_pool():

  Stack depot reached limit capacity
  WARNING: CPU: 37 PID: 514186 at lib/stackdepot.c:252
stack_depot_save_flags+0x787/0x840

Has anyone ever discussed increasing the number of stack depot pools
or making it configurable? Our workloads do a lot of network
processing so the stacks can get quite deep and varied and we can
definitely spare more than the 128MiB currently allocated for stacks
in the name of better KASAN testing.

Thanks,
Matt


                 reply	other threads:[~2025-03-13 19:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAGis_TX5862HYd_d0J=JFxAjG_Pd+yeyJ_8AbWQ9HBJGh3nZ0Q@mail.gmail.com' \
    --to=mfleming@cloudflare.com \
    --cc=akpm@linux-foundation.org \
    --cc=elver@google.com \
    --cc=glider@google.com \
    --cc=kernel-team@cloudflare.com \
    --cc=linux-mm@kvack.org \
    --cc=osalvador@suse.de \
    --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