summaryrefslogtreecommitdiffstats
path: root/lib/param/loadparm.c
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-27 15:20:06 +1300
committerJeremy Allison <jra@samba.org>2014-05-07 19:49:14 +0200
commite812b726cd922e9ffd9ac035dbf8ebd700b1fc0b (patch)
treec6146c423c4a91e9c7c81f0bbf9293a5a2a8d329 /lib/param/loadparm.c
parent2dd7c890792cf12049ec13b88aa4e9de23035f9d (diff)
downloadsamba-e812b726cd922e9ffd9ac035dbf8ebd700b1fc0b.tar.gz
samba-e812b726cd922e9ffd9ac035dbf8ebd700b1fc0b.tar.xz
samba-e812b726cd922e9ffd9ac035dbf8ebd700b1fc0b.zip
param: change the talloc context attached to globals structure in s3 loadparm to a pool
With many allocations being made, with many empty strings in loadparm, it should be more effective to use a talloc pool instead of a normal talloc context. The numbers chosen are based around a simple testparm instance. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-on: https://gerrit.samba.org/157 Reviewed-by: Kamen Mazdrashki <kamenim@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/param/loadparm.c')
0 files changed, 0 insertions, 0 deletions