summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2003-07-02 08:47:23 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-07-02 08:47:23 -0700
commit17003453e368de3c1ab7700ab134bce5f0b50e47 (patch)
tree24998bf3a66a333b825b99e19beeb53559b2e790 /include/linux
parenteeb9647974eff3854b8fb2d285eb07c2e4b1a480 (diff)
[PATCH] move_vma() make_pages_present() fix
From: Hugh Dickins <hugh@veritas.com> mremap's move_vma VM_LOCKED case was still wrong. If the do_munmap unmaps a part of new_vma, then its vm_start and vm_end from before cannot both be the right addresses for the make_pages_present range, and may BUG() there. We need [new_addr, new_addr+new_len) to be locked down; but move_page_tables already transferred the locked pages [new_addr, new_addr+old_len), and they're either held in a VM_LOCKED vma throughout, or temporarily in no vma: in neither case can be swapped out, so no need to run over that range again.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions