Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Tiezhu Yang and committed by
Andrew Morton
712afc7c 66d25cbe

+1 -1
+1 -1
scripts/checkstack.pl
··· 47 47 48 48 $min_stack = shift; 49 49 if ($min_stack eq "" || $min_stack !~ /^\d+$/) { 50 - $min_stack = 100; 50 + $min_stack = 512; 51 51 } 52 52 53 53 $x = "[0-9a-f]"; # hex character