Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Hugh Dickins <hugh@...>
Cc: Peter Zijlstra <a.p.zijlstra@...>, Andrew Morton <akpm@...>, <stefani@...>, <linux-kernel@...>, David Howells <dhowells@...>, <linux-mm@...>
Date: Thursday, November 1, 2007 - 4:02 am

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
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Stefani Seibold, (Mon Oct 22, 10:40 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Andrew Morton, (Mon Oct 29, 3:40 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Peter Zijlstra, (Mon Oct 29, 1:01 pm)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Peter Zijlstra, (Mon Oct 29, 2:17 pm)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Peter Zijlstra, (Mon Oct 29, 6:16 pm)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Peter Zijlstra, (Tue Oct 30, 5:56 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Peter Zijlstra, (Tue Oct 30, 9:25 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Hugh Dickins, (Tue Oct 30, 11:47 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Jaya Kumar, (Thu Nov 1, 4:02 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Peter Zijlstra, (Tue Oct 30, 11:51 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Stefani Seibold, (Tue Oct 30, 6:49 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Hugh Dickins, (Tue Oct 30, 8:39 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Peter Zijlstra, (Tue Oct 30, 9:12 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Peter Zijlstra, (Mon Oct 29, 6:11 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Peter Zijlstra, (Mon Oct 29, 8:35 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23, Nick Piggin, (Mon Oct 29, 10:28 am)