On Wed, 28 Apr 2010 00:32:42 +0200
Andrea Arcangeli <aarcange@redhat.com> wrote:
I think there is no bug, either. But that safety is fragile.
Doing some check in move_ptes() after vma_adjust() is not safe.
IOW, when vma's information and information in page-table is incosistent...objrmap
is broken and migartion will cause panic.
Then...I think there are 2 ways.
1. use seqcounter in "mm_struct" as previous patch and lock it at mremap.
or
2. get_user_pages_fast() when do remap.
Thanks,
-Kame
--