Hi,

I remember we discussed a long time ago to limit the stack usage of all 
functions that are executed in a coroutine
context to a very low value to be able to safely limit the coroutine stack size 
as well.

I checked through all functions in block/, migration/ and nbd/ and there are 
only very few larger or unbound stack
allocations that can easily be fixed.

Now my question: Is there an easy way to add a cflag like -Wstack-usage=2048 to 
all objects in a given directory only?
I tried to add a llimit to the whole project, but fixing this will be a larger 
task.

Thanks,
Peter



Reply via email to