What if enabling this tunable everywhere, might be in a follow-up commit ?
It is good to enable it everywhere. That requires extra works to enable kstack_pages tunable on arm64, but I'm not expert on arm64 architecture and have no clues how to enable that feature.
To enable this feature on arm64, you need to remove the remaining #ifdef braces. When I added the knob, I disabled it on arches where thread0 stack size cannot be controlled with it. I think it is not too important in current times, and arm64 maintainers can fix it eventually if they want.