Revised Virt_mem_mmap handling overlapping mappings efficiently.