]> Zhao Yanbai Git Server - minix.git/commitdiff
re-enable munmap().
authorBen Gras <ben@minix3.org>
Fri, 25 Sep 2009 19:01:27 +0000 (19:01 +0000)
committerBen Gras <ben@minix3.org>
Fri, 25 Sep 2009 19:01:27 +0000 (19:01 +0000)
servers/vm/mmap.c

index dcb27b1da8d96e5b11d3bb30ced42a80ce9ead36..cd4827287609320032b8cfe59153747ad8afb85e 100644 (file)
@@ -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) {