mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Fix for MSAN from Marko related to buf_pool_resize
This commit is contained in:
parent
6e81ba0c12
commit
484931325e
1 changed files with 5 additions and 0 deletions
|
|
@ -1622,6 +1622,8 @@ buf_chunk_init(
|
|||
return(NULL);
|
||||
}
|
||||
|
||||
MEM_MAKE_ADDRESSABLE(chunk->mem, chunk->mem_size());
|
||||
|
||||
#ifdef HAVE_LIBNUMA
|
||||
if (srv_numa_interleave) {
|
||||
struct bitmask *numa_mems_allowed = numa_get_mems_allowed();
|
||||
|
|
@ -2908,6 +2910,9 @@ withdraw_retry:
|
|||
while (chunk < echunk) {
|
||||
buf_block_t* block = chunk->blocks;
|
||||
|
||||
MEM_MAKE_ADDRESSABLE(chunk->mem,
|
||||
chunk->mem_size());
|
||||
|
||||
for (ulint j = chunk->size;
|
||||
j--; block++) {
|
||||
mutex_free(&block->mutex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue