On Oct 30, 2007 11:47 AM, Hugh Dickins <hugh@veritas.com> wrote:
Oops, sorry that I missed that. Now I understand. I think:
page->mapping = vma->vm_file->f_mapping
page->index = ((addr - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff
at nopage time and then before the driver vfrees, I'll clear mapping
for all those pages.
Thanks,
jaya
-