Updated code for mmap_size.