From: Daniel Colascione Date: Wed, 14 Feb 2018 19:32:29 +0000 (-0800) Subject: Restore comment X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=59291f27e745583a0c4b88b75316eeb499446b69;p=emacs.git Restore comment --- 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 }