One more ASAN/MSAN cleanup
commit 484931325e7bcecddc6daf1a55c008ddd67497e4 included a workaround for a 10.5 merge issue that should now be properly addressed in commit ab4069909d1f8d0c4740b5bd90e1422ce1978187. buf_chunk_init(): Remove an unnecessary MEM_MAKE_ADDRESSABLE(). We might invoke MEM_UNDEFINED() here, but actually the allocated memory ought to be guaranteed to be zero-initialized.
This commit is contained in:
parent
453dc4b300
commit
f3f23b5c4b
@ -1622,8 +1622,6 @@ buf_chunk_init(
|
|||||||
return(NULL);
|
return(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
MEM_MAKE_ADDRESSABLE(chunk->mem, chunk->mem_size());
|
|
||||||
|
|
||||||
#ifdef HAVE_LIBNUMA
|
#ifdef HAVE_LIBNUMA
|
||||||
if (srv_numa_interleave) {
|
if (srv_numa_interleave) {
|
||||||
struct bitmask *numa_mems_allowed = numa_get_mems_allowed();
|
struct bitmask *numa_mems_allowed = numa_get_mems_allowed();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user