From: Ben Gras Date: Fri, 25 Sep 2009 19:01:27 +0000 (+0000) Subject: re-enable munmap(). X-Git-Tag: v3.1.5~81 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=a02d9aae0a7566d16fd082af16e673bb66fb9c69;p=minix.git re-enable munmap(). --- diff --git a/servers/vm/mmap.c b/servers/vm/mmap.c index dcb27b1da..cd4827287 100644 --- a/servers/vm/mmap.c +++ b/servers/vm/mmap.c @@ -317,9 +317,6 @@ PUBLIC int do_munmap(message *m) if(!(vmp->vm_flags & VMF_HASPT)) return ENXIO; - /* Temporarily disable munmap() to mask memory problem. */ - return OK; - if(m->m_type == VM_MUNMAP) { addr = (vir_bytes) arch_vir2map(vmp, (vir_bytes) m->VMUM_ADDR); } else if(m->m_type == VM_MUNMAP_TEXT) {