2015-12-05 14:27 GMT+01:00 Peter Portante <[email protected]>:
> Hi Folks,
>
> I thought I would do a quick experiment using -Wstack-usage=4096 to see
> what showed up.  There are not many routines using more than 4K, but there
> are two using 128K or more.
>
> Here is a gist with the results:
> https://gist.github.com/portante/6344ccdca306779d8e14

For all interested, please read the begin of the story:

https://github.com/rgerhards/rsyslog/commit/455508b499ac150b70521a5bc0b3d10a565f65d2#commitcomment-14794549

These 128K buffers on stack make a lot of sense as they prevent
malloc/free calls.

Rainer
>
> Kind regards, -peter
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
> sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T 
> LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to