During mremap(), the destination VMA is generally placed after the
original vma in rmap traversal order: in move_vma(), we always have
new_pgoff >= vma->vm_pgoff, and as a result new_vma->vm_pgoff >=
vma->vm_pgoff unless vma_merge() merged the new vma with an adjacent
one.
When the destination
During mremap(), the destination VMA is generally placed after the
original vma in rmap traversal order: in move_vma(), we always have
new_pgoff = vma-vm_pgoff, and as a result new_vma-vm_pgoff =
vma-vm_pgoff unless vma_merge() merged the new vma with an adjacent
one.
When the destination VMA is
2 matches
Mail list logo