Don't burn 2k of stack on every iconv, use the heap when it's a slow call.

Andrew Bartlett abartlet at samba.org
Wed Mar 30 20:40:30 MDT 2011


On Thu, 2011-03-31 at 04:10 +0200, Jeremy Allison wrote:
> The branch, master has been updated
>        via  21193c8 Don't burn 2k of stack on every iconv, use the heap when it's a slow call.
>        via  f9a2f4f Fix bug #7996 - sgid bit lost on folder rename.
>        via  cf5ed92 SMBTA: make vfs_smb_traffic_analyzer aware of the sendfile and recvfile functionality and store the results as common read/write results.
>       from  b3ffcf8 lib/util/charset smb_panic() on incorrect use of strlen_m_ext
> 
> http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
> 
> 
> - Log -----------------------------------------------------------------
> commit 21193c8eeba6d03f680ad34acbbb4cff14d87809
> Author: Jeremy Allison <jra at samba.org>
> Date:   Wed Mar 30 18:13:05 2011 -0700
> 
>     Don't burn 2k of stack on every iconv, use the heap when it's a slow call.
>     
>     Autobuild-User: Jeremy Allison <jra at samba.org>
>     Autobuild-Date: Thu Mar 31 04:09:09 CEST 2011 on sn-devel-104

I'm intrigued.  Why is using 2k of stack a problem?  Isn't it the
fastest memory we can get?

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.



More information about the samba-technical mailing list