Hi Haixiang
I've done the tests you asked for with the patch applied (stack init
moved to POST_VM), on the QEMU arm64 VM with "percpu_alloc=page"
(percpu in vmalloc):
1. live debugging: crash vmlinux /proc/kcore
2. crash --minimal on the vmcore
Both before and after the patch, these two modes show no difference
in behavior and no errors. This matches the code as well -- the move
does not seem to affect either mode.
I'm not sure what else is worth testing -- please let me know if
you need more.
Thanks for your testing, please just send a formal patch then.