From f0ce5105d47bb3b465c2763f9dfc3eaee860540f Mon Sep 17 00:00:00 2001 From: monojenkins Date: Thu, 12 Mar 2020 06:51:44 -0400 Subject: [PATCH] [merp] Remove unnecessary call to msync in mono_state_free_mem (#19170) Closes https://github.com/mono/mono/issues/19136 Co-authored-by: Alexis Christoforides --- mono/utils/mono-state.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mono/utils/mono-state.c b/mono/utils/mono-state.c index 6b53a37bb60..a144eb1e2f3 100644 --- a/mono/utils/mono-state.c +++ b/mono/utils/mono-state.c @@ -327,7 +327,6 @@ mono_state_free_mem (MonoStateMem *mem) if (!mem->mem) return; - msync(mem->mem, mem->size, MS_SYNC); munmap (mem->mem, mem->size); // Note: We aren't calling msync on this file. -- 2.11.4.GIT