• Andi Kleen's avatar
    Add option to enable -Wframe-larger-than= on gcc 4.4 · 35bb5b1e
    Andi Kleen authored
    Add option to enable -Wframe-larger-than= on gcc 4.4
    
    gcc mainline (upcoming 4.4) added a new -Wframe-larger-than=...
    option to warn at build time about too large stack frames. Add a config
    option to enable this warning, since this very useful for the kernel.
    
    I choose (somewhat arbitarily) 2048 as default warning threshold for 64bit
    and 1024 as default for 32bit architectures.  With some research and
    fixing all the code for smaller values these defaults should be probably
    lowered.
    
    With the default allyesconfigs have some new warnings, but I think
    that is all code that should be just fixed.
    
    At some point (when gcc 4.4 is released and widely used) this should
    obsolete make checkstack
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    35bb5b1e
Name
Last commit
Last update
..
lzo Loading commit data...
reed_solomon Loading commit data...
zlib_deflate Loading commit data...
zlib_inflate Loading commit data...
.gitignore Loading commit data...
Kconfig Loading commit data...
Kconfig.debug Loading commit data...
Kconfig.kgdb Loading commit data...
Makefile Loading commit data...
argv_split.c Loading commit data...
audit.c Loading commit data...
bitmap.c Loading commit data...
bitrev.c Loading commit data...
bug.c Loading commit data...
bust_spinlocks.c Loading commit data...
check_signature.c Loading commit data...
cmdline.c Loading commit data...
cpumask.c Loading commit data...
crc-ccitt.c Loading commit data...
crc-itu-t.c Loading commit data...
crc16.c Loading commit data...
crc32.c Loading commit data...
crc32defs.h Loading commit data...
crc7.c Loading commit data...
ctype.c Loading commit data...
debug_locks.c Loading commit data...
dec_and_lock.c Loading commit data...
devres.c Loading commit data...
div64.c Loading commit data...
dump_stack.c Loading commit data...
extable.c Loading commit data...
fault-inject.c Loading commit data...
find_next_bit.c Loading commit data...
gen_crc32table.c Loading commit data...
genalloc.c Loading commit data...
halfmd4.c Loading commit data...
hexdump.c Loading commit data...
hweight.c Loading commit data...
idr.c Loading commit data...
inflate.c Loading commit data...
int_sqrt.c Loading commit data...
iomap.c Loading commit data...
iomap_copy.c Loading commit data...
iommu-helper.c Loading commit data...
ioremap.c Loading commit data...
irq_regs.c Loading commit data...
kasprintf.c Loading commit data...
kernel_lock.c Loading commit data...
klist.c Loading commit data...
kobject.c Loading commit data...
kobject_uevent.c Loading commit data...
kref.c Loading commit data...
libcrc32c.c Loading commit data...
list_debug.c Loading commit data...
lmb.c Loading commit data...
locking-selftest-hardirq.h Loading commit data...
locking-selftest-mutex.h Loading commit data...
locking-selftest-rlock-hardirq.h Loading commit data...
locking-selftest-rlock-softirq.h Loading commit data...
locking-selftest-rlock.h Loading commit data...
locking-selftest-rsem.h Loading commit data...
locking-selftest-softirq.h Loading commit data...
locking-selftest-spin-hardirq.h Loading commit data...
locking-selftest-spin-softirq.h Loading commit data...
locking-selftest-spin.h Loading commit data...
locking-selftest-wlock-hardirq.h Loading commit data...
locking-selftest-wlock-softirq.h Loading commit data...
locking-selftest-wlock.h Loading commit data...
locking-selftest-wsem.h Loading commit data...
locking-selftest.c Loading commit data...
parser.c Loading commit data...
percpu_counter.c Loading commit data...
plist.c Loading commit data...
prio_heap.c Loading commit data...
prio_tree.c Loading commit data...
proportions.c Loading commit data...
radix-tree.c Loading commit data...
random32.c Loading commit data...
rbtree.c Loading commit data...
reciprocal_div.c Loading commit data...
rwsem-spinlock.c Loading commit data...
rwsem.c Loading commit data...
scatterlist.c Loading commit data...
sha1.c Loading commit data...
smp_processor_id.c Loading commit data...
sort.c Loading commit data...
spinlock_debug.c Loading commit data...
string.c Loading commit data...
swiotlb.c Loading commit data...
textsearch.c Loading commit data...
ts_bm.c Loading commit data...
ts_fsm.c Loading commit data...
ts_kmp.c Loading commit data...
vsprintf.c Loading commit data...