From 153311e51151ccb6101b285e1a657ce3aa1e0d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20Ronstr=C3=B6m?= Date: Mon, 9 Dec 2024 17:13:24 +0100 Subject: [PATCH] Failure during build process fix --- storage/innobase/buf/buf0buf.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/storage/innobase/buf/buf0buf.cc b/storage/innobase/buf/buf0buf.cc index 9c1aaff9b660..55a2fdb58052 100644 --- a/storage/innobase/buf/buf0buf.cc +++ b/storage/innobase/buf/buf0buf.cc @@ -102,9 +102,11 @@ struct set_numa_interleave_t { struct bitmask *numa_nodes = numa_get_mems_allowed(); if (set_mempolicy(MPOL_INTERLEAVE, numa_nodes->maskp, numa_nodes->size) != 0) { + /* ib::warn(ER_IB_MSG_48) << "Failed to set NUMA memory" " policy to MPOL_INTERLEAVE: " << strerror(errno); + */ } numa_bitmask_free(numa_nodes); } @@ -112,12 +114,16 @@ struct set_numa_interleave_t { ~set_numa_interleave_t() { if (srv_numa_interleave) { + /* ib::info(ER_IB_MSG_49) << "Setting NUMA memory policy to" " MPOL_DEFAULT"; + */ if (set_mempolicy(MPOL_DEFAULT, nullptr, 0) != 0) { + /* ib::warn(ER_IB_MSG_50) << "Failed to set NUMA memory" " policy to MPOL_DEFAULT: " << strerror(errno); + */ } } }