Hi Kuan-ying,
After checking my crash code, I found that my vmlinux seems not contained
"thread_union" symbols, so it cannot set irq_stack_size correctly.
It can set machdep->stacksize correctly, but it set it by this branch in task_init().
| *else if (!VALID_SIZE(thread_union) && !VALID_SIZE(task_union)) {
| * len = 0;
| * if (kernel_symbol_exists("__start_init_stack") &&
| * .....
By the way, my kernel version is 5.15.137-android13.
Thanks