vma = find_vma_prepare(mm, addr, &prev, &rb_link, &rb_parent);
if (vma && vma->vm_start < addr + len) {
if (do_munmap(mm, addr, len)) 《---这里为什么要删除空间
return -ENOMEM;
goto munmap_back;
}
vma = find_vma_prepare(mm, addr, &prev, &rb_link, &rb_parent);
if (vma && vma->vm_start < addr + len) {
if (do_munmap(mm, addr, len)) 《---这里为什么要删除空间
return -ENOMEM;
goto munmap_back;
}