Files
linux/mm
Arnd Bergmann dafdba0964 mm/damon/tests/core-kunit: avoid damos_test_commit stack warning
The newly added damos_test_commit() constructs multiple large structures
on the stack, which exceeds the warning limit in some cases:

In file included from mm/damon/core.c:2941:
mm/damon/tests/core-kunit.h: In function 'damos_test_commit':
mm/damon/tests/core-kunit.h:965:1: error: the frame size of 1520 bytes is larger than 1280 bytes [-Werror=frame-larger-than=]

Split this function up into two separate ones that are called
sequentially, so they can occupy the same stack slots.

Link: https://lkml.kernel.org/r/20251204100403.1034980-1-arnd@kernel.org
Fixes: 299a88f6ec ("mm/damon/tests/core-kunit: add damos_commit() test")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: Quanmin Yan <yanquanmin1@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-12-09 11:25:34 -08:00
..
2025-11-20 13:43:57 -08:00
2025-11-24 15:08:52 -08:00
2025-11-29 10:41:08 -08:00
2025-11-24 15:08:52 -08:00
2025-11-29 10:41:08 -08:00
2025-11-16 17:27:52 -08:00
2025-11-24 15:08:54 -08:00
2025-09-13 16:55:07 -07:00
2025-09-13 16:54:46 -07:00
2025-09-21 14:22:28 -07:00
2025-11-24 15:08:54 -08:00
2025-11-24 15:08:54 -08:00
2025-11-16 17:27:52 -08:00
2025-09-13 16:55:07 -07:00
2025-11-20 13:43:58 -08:00
2025-09-21 14:21:59 -07:00
2025-11-16 17:27:57 -08:00