scripts/checkstack.pl: change min_stack to 512 by default
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 19 Dec 2023 12:50:00 +0000 (20:50 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 Dec 2023 20:22:27 +0000 (12:22 -0800)
commit712afc7c410efd3ffd8cad5d25a0fcb20f320ba3
tree17caf5e44ba10e177c6f9dad9c4c415d8afc2683
parent66d25cbe29f307c0a3c53b1b1efd0f597d0756a1
scripts/checkstack.pl: change min_stack to 512 by default

According to Documentation/process/submit-checklist.rst, checkstack does
not point out problems explicitly, but any one function that uses more
than 512 bytes on the stack is a candidate for change, hence it is better
to omit any stack frame sizes smaller than 512 bytes, just change
min_stack to 512 by default.

Link: https://lkml.kernel.org/r/20231219125008.23007-5-yangtiezhu@loongson.cn
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkstack.pl