<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mariadb-git.git/sql/threadpool_generic.h, branch 10.56-MDEV-30986</title>
<subtitle>github.com: MariaDB/server.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/'/>
<entry>
<title>Remove some trailing whitespaces.</title>
<updated>2020-05-29T11:05:35+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2020-05-29T10:21:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=213265130e9b1d38d0ae0b59d1c36a5e6257d95a'/>
<id>213265130e9b1d38d0ae0b59d1c36a5e6257d95a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-22696 TP_pool_generic::set_pool_size logic so that it marks each connection to change group before the next socket read.</title>
<updated>2020-05-25T12:54:11+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2020-05-23T11:17:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=e6f0371556768cdf6da80073aa3d10544ccca1fe'/>
<id>e6f0371556768cdf6da80073aa3d10544ccca1fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-22578 thread_pool_info crashes with clang6, using SSE instructions on unaligned memory</title>
<updated>2020-05-15T14:29:06+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2020-05-15T14:09:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=69077dea25f6e7cab4ff8927e4429ad62af9de49'/>
<id>69077dea25f6e7cab4ff8927e4429ad62af9de49</id>
<content type='text'>
Apparently, in stats_reset_table(), the innocuous

  memset(&amp;group-&gt;counters, 0, sizeof(group-&gt;counters));

is converted by clang to SSE2 instructions.

The problem is that "group" is not correctly aligned,
despite  MY_ALIGNED(CPU_LEVEL1_DCACHE_LINESIZE) in the thread_group_t
declaration.

It is not aligned because it was allocated with my_malloc, since
commit fd9f1638, MDEV-5205. Previously all_groups was a
statically allocated array.

Fix is to remove MY_ALIGNED, and pad the struct instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Apparently, in stats_reset_table(), the innocuous

  memset(&amp;group-&gt;counters, 0, sizeof(group-&gt;counters));

is converted by clang to SSE2 instructions.

The problem is that "group" is not correctly aligned,
despite  MY_ALIGNED(CPU_LEVEL1_DCACHE_LINESIZE) in the thread_group_t
declaration.

It is not aligned because it was allocated with my_malloc, since
commit fd9f1638, MDEV-5205. Previously all_groups was a
statically allocated array.

Fix is to remove MY_ALIGNED, and pad the struct instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge 10.4 into 10.5</title>
<updated>2020-03-30T16:07:25+00:00</updated>
<author>
<name>Marko Mäkelä</name>
<email>marko.makela@mariadb.com</email>
</author>
<published>2020-03-30T15:52:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=37c14690fc6bc9237bdad9b8e26157d1174a49fc'/>
<id>37c14690fc6bc9237bdad9b8e26157d1174a49fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-20372 thread_pool_info fails randomly in 10.5</title>
<updated>2020-03-28T00:46:53+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2020-03-28T00:46:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=e129555462e3464e5274c5d5bab19defa1592d3a'/>
<id>e129555462e3464e5274c5d5bab19defa1592d3a</id>
<content type='text'>
Rework stats a bit, so we're not missing any queue_get() now.

Don't do stats_reset_table(), if generic threadpool is off.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rework stats a bit, so we're not missing any queue_get() now.

Don't do stats_reset_table(), if generic threadpool is off.
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-19313 Threadpool : provide information schema tables for internals of generic threadpool</title>
<updated>2019-05-26T17:20:35+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2019-05-26T11:25:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=2fc13d04d16f878ed693ad8ba56045b79ccb9650'/>
<id>2fc13d04d16f878ed693ad8ba56045b79ccb9650</id>
<content type='text'>
Added thread_pool_groups, thread_pool_queues, thread_pool_waits and
thread_pool_stats tables to information_schema.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added thread_pool_groups, thread_pool_queues, thread_pool_waits and
thread_pool_stats tables to information_schema.
</pre>
</div>
</content>
</entry>
</feed>
