summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-04-21 09:15:18 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2022-04-21 09:15:18 +0300
commit4730314a70119ae5857edffe2d1bec86960ef22b (patch)
tree815c1de60cc90c87593eaacc30d77885763b2c1c /CMakeLists.txt
parent372b0e6355fbb6b7dc490b64da13e784c09aeec8 (diff)
downloadmariadb-git-4730314a70119ae5857edffe2d1bec86960ef22b.tar.gz
MDEV-28369 ibuf_bitmap_mutex is an unnecessary contention point
The only purpose of ibuf_bitmap_mutex is to prevent a deadlock between two concurrent invocations of ibuf_update_free_bits_for_two_pages_low() on the same pair of bitmap pages, but in opposite order. The mutex is unnecessarily serializing the execution of the function even when it is being invoked on totally different tablespaces. To avoid deadlocks, it suffices to ensure that the two page latches are being acquired in a deterministic (sorted) order.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions