<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib/talloc, branch talloc-2.0.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>talloc: Convert error cecking macros into fns</title>
<updated>2012-10-05T21:24:17+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>idra@samba.org</email>
</author>
<published>2012-10-05T14:32:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=36ea39edf8dd9ede756debaf9632f3ded2a51abb'/>
<id>36ea39edf8dd9ede756debaf9632f3ded2a51abb</id>
<content type='text'>
This will avoid 'surprise returns' and makes the code cleare to readers.
These macros were complex enough to warrant a full function anyway not
just for readability but also for debuggability.

Thanks David for pointing out this issue.

Autobuild-User(master): Simo Sorce &lt;idra@samba.org&gt;
Autobuild-Date(master): Fri Oct  5 23:24:17 CEST 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will avoid 'surprise returns' and makes the code cleare to readers.
These macros were complex enough to warrant a full function anyway not
just for readability but also for debuggability.

Thanks David for pointing out this issue.

Autobuild-User(master): Simo Sorce &lt;idra@samba.org&gt;
Autobuild-Date(master): Fri Oct  5 23:24:17 CEST 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for talloc_memlimit</title>
<updated>2012-10-05T05:36:38+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>idra@samba.org</email>
</author>
<published>2012-09-22T20:35:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=7d7e33c624875a9694fcebdde942147ac3bf5f74'/>
<id>7d7e33c624875a9694fcebdde942147ac3bf5f74</id>
<content type='text'>
Autobuild-User(master): Simo Sorce &lt;idra@samba.org&gt;
Autobuild-Date(master): Fri Oct  5 07:36:38 CEST 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Autobuild-User(master): Simo Sorce &lt;idra@samba.org&gt;
Autobuild-Date(master): Fri Oct  5 07:36:38 CEST 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>Add memory limiting capability to talloc</title>
<updated>2012-10-05T03:57:17+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>idra@samba.org</email>
</author>
<published>2012-09-22T20:15:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a33a78c302fde61fdb7a6e71669f19be2cf5c836'/>
<id>a33a78c302fde61fdb7a6e71669f19be2cf5c836</id>
<content type='text'>
By calling talloc_set_memlimit() we can now set a max memory limit
for a whole talloc hierarchy.
ANy attempt to allocate memory beyond the max allowed for the whole
hierarchy wil cause an allocation failure.

Stealing memory correctly accounts for used memory in the old and the new
hierarchy but exceeding the memory limit in the new parent will not cause
a failure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By calling talloc_set_memlimit() we can now set a max memory limit
for a whole talloc hierarchy.
ANy attempt to allocate memory beyond the max allowed for the whole
hierarchy wil cause an allocation failure.

Stealing memory correctly accounts for used memory in the old and the new
hierarchy but exceeding the memory limit in the new parent will not cause
a failure.
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: Remove build/ from doxygen config or it will not work in brew.</title>
<updated>2012-08-04T14:31:22+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@samba.org</email>
</author>
<published>2012-08-03T16:21:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=41cffa3c8b126570203e32c2024d5a8f439b529e'/>
<id>41cffa3c8b126570203e32c2024d5a8f439b529e</id>
<content type='text'>
Autobuild-User(master): Andreas Schneider &lt;asn@cryptomilk.org&gt;
Autobuild-Date(master): Sat Aug  4 16:31:22 CEST 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Autobuild-User(master): Andreas Schneider &lt;asn@cryptomilk.org&gt;
Autobuild-Date(master): Sat Aug  4 16:31:22 CEST 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: don't allow a talloc_pool inside a talloc_pool.</title>
<updated>2012-07-17T19:24:31+00:00</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2012-07-17T19:24:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4f331872bc783445c709e5fe4846b8687e274953'/>
<id>4f331872bc783445c709e5fe4846b8687e274953</id>
<content type='text'>
We explicitly call free() on a pool which falls to zero, assuming it's
not inside another pool (we crash).  Check on creation and explicitly
document this case.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We explicitly call free() on a pool which falls to zero, assuming it's
not inside another pool (we crash).  Check on creation and explicitly
document this case.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: use a struct for pool headers.</title>
<updated>2012-07-17T19:23:31+00:00</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2012-07-17T19:23:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8893215aaf714154c190c66bf7d1ce568118ec39'/>
<id>8893215aaf714154c190c66bf7d1ce568118ec39</id>
<content type='text'>
This neatens the code a bit (we should do a similar thing for all the
TALLOC_CHUNK macros).

Two subtler changes:
(1) As a result of the struct, we actually pack object_count into the 
    talloc header on 32-bit platforms (since the header is 40 bytes, but
    needs to be 16-byte aligned).
(2) I avoid VALGRIND_MAKE_MEM_UNDEFINED on memmove when we resize the
    only entry in a pool; that's done later anyway.

With -O2 on my 11.04 Ubuntu 32-bit x86 laptop, the talloc_pool speed as
measured by testsuite.c actually increases 10%.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This neatens the code a bit (we should do a similar thing for all the
TALLOC_CHUNK macros).

Two subtler changes:
(1) As a result of the struct, we actually pack object_count into the 
    talloc header on 32-bit platforms (since the header is 40 bytes, but
    needs to be 16-byte aligned).
(2) I avoid VALGRIND_MAKE_MEM_UNDEFINED on memmove when we resize the
    only entry in a pool; that's done later anyway.

With -O2 on my 11.04 Ubuntu 32-bit x86 laptop, the talloc_pool speed as
measured by testsuite.c actually increases 10%.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: remove unused variables</title>
<updated>2012-07-05T21:50:54+00:00</updated>
<author>
<name>Björn Jacke</name>
<email>bj@sernet.de</email>
</author>
<published>2012-06-13T16:10:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=7abe51f8404f1788d4ed497d26b83b3097073229'/>
<id>7abe51f8404f1788d4ed497d26b83b3097073229</id>
<content type='text'>
found by the IRIX compiler

Autobuild-User(master): Björn Jacke &lt;bj@sernet.de&gt;
Autobuild-Date(master): Thu Jul  5 23:50:54 CEST 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
found by the IRIX compiler

Autobuild-User(master): Björn Jacke &lt;bj@sernet.de&gt;
Autobuild-Date(master): Thu Jul  5 23:50:54 CEST 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Remove unused release scripts for talloc</title>
<updated>2012-05-30T02:15:11+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2012-05-28T02:15:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=ccb7642e5bc128c201bc7cff4f2a09fce3fd0c7d'/>
<id>ccb7642e5bc128c201bc7cff4f2a09fce3fd0c7d</id>
<content type='text'>
These now use waf dist, and the script/librelease.sh script as a wrapper.

The mksyms.sh call in the source3/Makefile uses the copy in source3/script

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These now use waf dist, and the script/librelease.sh script as a wrapper.

The mksyms.sh call in the source3/Makefile uses the copy in source3/script

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: Update doxygen config.</title>
<updated>2012-05-07T19:13:15+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@samba.org</email>
</author>
<published>2012-05-07T09:57:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=59091884922eda5a1524ad97fa1a5d7477cb5b96'/>
<id>59091884922eda5a1524ad97fa1a5d7477cb5b96</id>
<content type='text'>
Autobuild-User: Andreas Schneider &lt;asn@cryptomilk.org&gt;
Autobuild-Date: Mon May  7 21:13:15 CEST 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Autobuild-User: Andreas Schneider &lt;asn@cryptomilk.org&gt;
Autobuild-Date: Mon May  7 21:13:15 CEST 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: Remove latex to doxygen conversion leftovers in talloc.</title>
<updated>2012-05-07T17:20:30+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2012-05-07T10:30:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=20408286e2845ebca64b28e7e8ec0ed8dc9130c2'/>
<id>20408286e2845ebca64b28e7e8ec0ed8dc9130c2</id>
<content type='text'>
Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
