Commit 48493132 authored by Monty's avatar Monty

Fix for MSAN from Marko related to buf_pool_resize

parent 6e81ba0c
......@@ -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 @@ buf_pool_resize()
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment