Re: [PATCH] mm/damon/core: reduce kernel stack usage

From: Andrew Morton

Date: Tue Jun 30 2026 - 16:45:49 EST


On Tue, 30 Jun 2026 15:29:03 +0200 "Arnd Bergmann" <arnd@xxxxxxxx> wrote:

> This is clearly an
> uphill battle, but kernel stack overflows are a real and build testing
> with a reasonably small limit is only one line of defense against these.

It's a worthy battle.

Reducing the default CONFIG_FRAME_WARN on various architectures will
help. It's kinda trollish, but we should clamp down on this stuff and
having Arnd plugging away on his own isn't a good way!