From 59291f27e745583a0c4b88b75316eeb499446b69 Mon Sep 17 00:00:00 2001 From: Daniel Colascione Date: Wed, 14 Feb 2018 11:32:29 -0800 Subject: [PATCH] Restore comment --- src/pdumper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pdumper.c b/src/pdumper.c index 0df41cb127a..148dcd9755e 100644 --- a/src/pdumper.c +++ b/src/pdumper.c @@ -4266,6 +4266,7 @@ dump_discard_mem (void *mem, size_t size) /* Discard COWed pages. */ (void) posix_madvise (mem, size, POSIX_MADV_DONTNEED); # endif + /* Release the commit charge for the mapping. */ (void) mprotect (mem, size, PROT_NONE); #endif } -- 2.39.5