Re: loops in get_user_pages() for VM_IO
From: David S. Miller
Date: Tue Nov 16 2004 - 21:28:04 EST
On Tue, 16 Nov 2004 17:53:28 -0800
"David S. Miller" <davem@xxxxxxxxxxxxx> wrote:
> Some time recently, I don't know when, the logic in get_user_pages()
> appears to have been changed a bit.
Replying to myself, this hang started when do_mmap_pgoff() was
changed to re-read the vma->vm_flags bits right before we
vma_link() the vma into the mm.
Previously, only the mmap() call specified vm_flags would
be used, but now we also get whatever bit changes to
vma->vm_flags are done by the file->f_op->mmap() method
as well.
In any event, it is still an open question whether get_user_pages()
and thus make_pages_present() is meant to be able to handle
VM_IO areas.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/