[Cake] [PATCH] Split tin stats to its own structure to decrease size of tc_cake_xstats
Toke Høiland-Jørgensen
toke at toke.dk
Tue Dec 26 11:32:03 EST 2017
On 26 December 2017 17:28:39 CET, Dave Taht <dave.taht at gmail.com> wrote:
>The puzzling thing about the reported error for this function is that
>the static analysis checker is complaining about 1400+ bytes being
>used *on the stack* (in gnet_stats_copy-app?) for the pa-risc
>architecture, and that arch, only, which I just don't "get".
Maybe the compiler is being clever and detecting a static allocation which it then moves to the stack or something? Didn't quite understand that error either...
>That said, this patch will end up copying less data most of the time,
>and fool the static analysis checker in that case.
Yup, that's what I was going for... ;)
-Toke
More information about the Cake
mailing list