Re: [RFC][PATCH 0/1] Node-based reclaim/migration

Paul Menage
2006-11-30T19:53:07Z

On 11/30/06, Christoph Lameter <clameter@sgi.com> wrote:
>
> We have no problem with the page lock (you actually may not need any
> locking since there are no references remaining to the page). The trouble
> is that the vma may have vanished when we try to reestablish the pte.
>

Why is that a problem? If the vma has gone away, then there's no need
to reestablish the pte. And remove_file_migration_ptes() appears to be
adequately protected against races with unlink_file_vma() since they
both take i_mmap_sem.

Paul