diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2018-02-22 20:46:42 +0400 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-02-23 08:18:18 +0200 |
commit | 131d9a5d0cb51fa88a0461c939dfd2a7c68d5664 (patch) | |
tree | 630ff855ce9ff0b11d80034f5a0ff0fbfd866e99 /mysql-test/suite/galera/r | |
parent | 59dd0464a9fd58f6e7e65f6ffdbaf182b2cb13c2 (diff) | |
download | mariadb-git-131d9a5d0cb51fa88a0461c939dfd2a7c68d5664.tar.gz |
Allocate lock_sys statically
There is only one lock_sys. Allocate it statically in order to avoid
dereferencing a pointer whenever accessing it. Also, align some
members to their own cache line in order to avoid false sharing.
lock_sys_t::create(): The deferred constructor.
lock_sys_t::close(): The early destructor.
Diffstat (limited to 'mysql-test/suite/galera/r')
0 files changed, 0 insertions, 0 deletions