Thread (1 message) 1 message, 1 author, 2019-07-12

Re: [PATCH 2/4] lpfc: reduce stack size with CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2019-07-12 00:48:42
Also in: linux-scsi, lkml, lvs-devel, netfilter-devel

Arnd,
The lpfc_debug_dump_all_queues() function repeatedly calls into
lpfc_debug_dump_qe(), which has a temporary 128 byte buffer.  This was
fine before the introduction of CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE
because each instance could occupy the same stack slot. However, now
they each get their own copy, which leads to a huge increase in stack
usage as seen from the compiler warning:
Applied to 5.3/scsi-fixes. Thank you!

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help