<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dovecot.git/src/lib/data-stack.c, branch master</title>
<subtitle>dovecot</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/atom/src/lib/data-stack.c?h=master</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/atom/src/lib/data-stack.c?h=master'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/'/>
<updated>2021-10-07T07:23:08Z</updated>
<entry>
<title>lib: t_get_bytes_available() - Move code inside DEBUG to avoid dead code warning</title>
<updated>2021-10-07T07:23:08Z</updated>
<author>
<name>Timo Sirainen</name>
<email>timo.sirainen@open-xchange.com</email>
</author>
<published>2021-10-07T00:46:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=687bc05ad00a0c13efc9979c317f4edfa414b341'/>
<id>urn:sha1:687bc05ad00a0c13efc9979c317f4edfa414b341</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: Fix data_stack_get_alloc_size() and data_stack_get_used_size()</title>
<updated>2021-10-06T10:22:34Z</updated>
<author>
<name>Timo Sirainen</name>
<email>timo.sirainen@open-xchange.com</email>
</author>
<published>2021-10-06T10:20:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=2e06ce6c98b863afb05dc5650264d15f074071e3'/>
<id>urn:sha1:2e06ce6c98b863afb05dc5650264d15f074071e3</id>
<content type='text'>
It only worked correctly if data stack hadn't been grown. This resulted
in wrong numbers in the data_stack_grow event.
</content>
</entry>
<entry>
<title>lib: Add most data_stack_grow event fields before checking if event is wanted</title>
<updated>2021-09-22T11:11:23Z</updated>
<author>
<name>Timo Sirainen</name>
<email>timo.sirainen@open-xchange.com</email>
</author>
<published>2021-09-22T09:14:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=4f605823a49180f888c3adb72d6f9f4144293449'/>
<id>urn:sha1:4f605823a49180f888c3adb72d6f9f4144293449</id>
<content type='text'>
This allows using e.g. "event=data_stack_grow and alloc_size &gt; 32768" as
an event filter.
</content>
</entry>
<entry>
<title>lib: data-stack - Initialize alloc_count / alloc_bytes</title>
<updated>2021-08-09T15:53:32Z</updated>
<author>
<name>Aki Tuomi</name>
<email>aki.tuomi@open-xchange.com</email>
</author>
<published>2021-07-14T07:00:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=5245129f061c564b8051568d0d6bd6633aa0ae32'/>
<id>urn:sha1:5245129f061c564b8051568d0d6bd6633aa0ae32</id>
<content type='text'>
This has only effect with devel checks enabled. Fixes counter
values to show sensible data.
</content>
</entry>
<entry>
<title>lib: data-stack - Allow errno changes when sending event</title>
<updated>2021-08-09T15:53:32Z</updated>
<author>
<name>Aki Tuomi</name>
<email>aki.tuomi@open-xchange.com</email>
</author>
<published>2021-07-13T10:41:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=d74cf4ca2af02e85a7ee464b81ae7ade1971f56d'/>
<id>urn:sha1:d74cf4ca2af02e85a7ee464b81ae7ade1971f56d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: data-stack - t_try_realloc() - Add missing data_stack_last_buffer_reset() call</title>
<updated>2021-07-19T11:10:44Z</updated>
<author>
<name>Timo Sirainen</name>
<email>timo.sirainen@open-xchange.com</email>
</author>
<published>2021-07-19T10:54:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=5bd95c2ba90a414bb76fe5f4a63dd47317d5807e'/>
<id>urn:sha1:5bd95c2ba90a414bb76fe5f4a63dd47317d5807e</id>
<content type='text'>
This fixes incorrect "buffer overflow" panics with DEBUG builds.
</content>
</entry>
<entry>
<title>lib: data-stack - data_stack_last_buffer_reset(() - Add comments and an assert</title>
<updated>2021-07-19T11:10:44Z</updated>
<author>
<name>Timo Sirainen</name>
<email>timo.sirainen@open-xchange.com</email>
</author>
<published>2021-07-19T10:52:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=7dedc453ca4f608e752f100e663f9833e82bf243'/>
<id>urn:sha1:7dedc453ca4f608e752f100e663f9833e82bf243</id>
<content type='text'>
This clarifies how the function is expected to work.
</content>
</entry>
<entry>
<title>lib: DEBUG: Fix potential crash in handling "Growing data stack" debug message</title>
<updated>2021-06-01T10:44:55Z</updated>
<author>
<name>Timo Sirainen</name>
<email>timo.sirainen@open-xchange.com</email>
</author>
<published>2020-03-09T09:11:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=c38df6196d38e37a8bb6c517fb03afe59e30f6d2'/>
<id>urn:sha1:c38df6196d38e37a8bb6c517fb03afe59e30f6d2</id>
<content type='text'>
This could have only happened when data_stack_grow event was enabled and
when --enable-devel-checks was used.
</content>
</entry>
<entry>
<title>lib: data-stack - Keep the largest unused block in memory after all</title>
<updated>2021-05-24T11:52:01Z</updated>
<author>
<name>Timo Sirainen</name>
<email>timo.sirainen@open-xchange.com</email>
</author>
<published>2021-05-21T15:13:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=14ac1c5efe467231f5120ebabfcae262ab74b0da'/>
<id>urn:sha1:14ac1c5efe467231f5120ebabfcae262ab74b0da</id>
<content type='text'>
This reverts 2da21080dbbe50b4924ac0135c84babfb404dcce, but that alone
doesn't produce working code so there are also some further fixups.
</content>
</entry>
<entry>
<title>lib: data-stack - If frame doesn't change current block, no blocks need to be freed</title>
<updated>2021-05-04T07:02:35Z</updated>
<author>
<name>Timo Sirainen</name>
<email>timo.sirainen@open-xchange.com</email>
</author>
<published>2021-03-31T13:26:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=6a058be026ac352639fa0ab5c9e0eb54490265ad'/>
<id>urn:sha1:6a058be026ac352639fa0ab5c9e0eb54490265ad</id>
<content type='text'>
This is a micro-optimization to t_pop() to avoid an extra if-check.
</content>
</entry>
</feed>
