diff options
author | Volker Lendecke <Volker.Lendecke@SerNet.DE> | 2007-10-31 15:06:22 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-11-01 11:04:24 -0700 |
commit | 456ca680f24f13e72a529e6e280b1fffa744a1ff (patch) | |
tree | 2aa3b95400eb8d84e9292fd9c2325e4b1fa2615c /source3/libgpo | |
parent | 92d8a53b4597487fb8d23a8b2334d854c87ad7e3 (diff) | |
download | samba-456ca680f24f13e72a529e6e280b1fffa744a1ff.tar.gz samba-456ca680f24f13e72a529e6e280b1fffa744a1ff.tar.bz2 samba-456ca680f24f13e72a529e6e280b1fffa744a1ff.zip |
save memory
Hi!
Attached find a patch that I've wanted to check in for ages.
The whole area probably needs a major rewrite, but this is a
minimal patch that on a 32-bit box saves 1.5k per smbd per
defined share, twice as much on a 64-bit box.
Volker
From ebb80e664ecc49eb597a45cb57e1067fbae49e62 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl@sernet.de>
Date: Wed, 31 Oct 2007 15:04:34 +0100
Subject: [PATCH] Change global->copymap from bool* to a bitmap
We right now have 401 parameters, so with bool being represented as a 64-bit
integer this saves about 3k of memory per smbd per share that is defined in
smb.conf.
(This used to be commit 94f2c35a683eace7f9f3dad9748aaec93f7c534f)
Diffstat (limited to 'source3/libgpo')
0 files changed, 0 insertions, 0 deletions