On Oct 30, 2007 11:47 AM, Hugh Dickins <[EMAIL PROTECTED]> wrote:
>
> I don't understand why you suggested an anon_vma, nor why Jaya is
> suggesting a private list. All vmas mapping /dev/fb0 will be kept
> in the prio_tree rooted in its struct address_space (__vma_link_file
> in mm/mmap.c). And
On Oct 30, 2007 11:47 AM, Hugh Dickins [EMAIL PROTECTED] wrote:
I don't understand why you suggested an anon_vma, nor why Jaya is
suggesting a private list. All vmas mapping /dev/fb0 will be kept
in the prio_tree rooted in its struct address_space (__vma_link_file
in mm/mmap.c). And
On Tue, 30 Oct 2007, Peter Zijlstra wrote:
> On Tue, 2007-10-30 at 09:16 -0400, Jaya Kumar wrote:
...
> > - defio mmap adds this vma to private list (equivalent of
> > address_space or anon_vma)
...
> > - foreach vma { foreach page { page_mkclean_one(page, vma) }
>
> Yeah, page_mkclean_one(page,
On Tue, 2007-10-30 at 15:47 +, Hugh Dickins wrote:
> On Tue, 30 Oct 2007, Peter Zijlstra wrote:
> > On Tue, 2007-10-30 at 09:16 -0400, Jaya Kumar wrote:
>
> > > - defio mmap adds this vma to private list (equivalent of
> > > address_space or anon_vma)
>
> > > - foreach vma { foreach
On Tue, 2007-10-30 at 09:16 -0400, Jaya Kumar wrote:
> On 10/30/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote:
> > So page->index does what you want it to, identify which part of the
> > framebuffer this particular page belongs to.
>
> Ok. I'm attempting to walk the code sequence. Here's what I
On 10/30/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote:
> So page->index does what you want it to, identify which part of the
> framebuffer this particular page belongs to.
Ok. I'm attempting to walk the code sequence. Here's what I think:
- driver loads
- driver vmalloc()s its fb
- this creates
On Tue, 2007-10-30 at 12:39 +, Hugh Dickins wrote:
> On Tue, 30 Oct 2007, Stefani Seibold wrote:
> >
> > the question is how can i get all pte's from a vmalloc'ed memory. Due to
> > the zeroed mapping pointer i dont see how to do this?
>
> The mapping pointer is zeroed because you've done
On Tue, 30 Oct 2007, Stefani Seibold wrote:
>
> the question is how can i get all pte's from a vmalloc'ed memory. Due to
> the zeroed mapping pointer i dont see how to do this?
The mapping pointer is zeroed because you've done nothing to set it.
Below is how I answered you a week ago. But this
Hi,
the question is how can i get all pte's from a vmalloc'ed memory. Due to
the zeroed mapping pointer i dont see how to do this?
Am Dienstag, den 30.10.2007, 10:56 +0100 schrieb Peter Zijlstra:
> On Mon, 2007-10-29 at 21:22 -0400, Jaya Kumar wrote:
> > On 10/29/07, Peter Zijlstra <[EMAIL
On Mon, 2007-10-29 at 21:22 -0400, Jaya Kumar wrote:
> On 10/29/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote:
> >
> > [ also, remap_vmalloc_range() suffers similar issues, only file and anon
> > have proper rmap ]
> >
> > I'm not sure we want full rmap for remap_pfn/vmalloc_range, but perhaps
>
On Mon, 2007-10-29 at 21:22 -0400, Jaya Kumar wrote:
On 10/29/07, Peter Zijlstra [EMAIL PROTECTED] wrote:
[ also, remap_vmalloc_range() suffers similar issues, only file and anon
have proper rmap ]
I'm not sure we want full rmap for remap_pfn/vmalloc_range, but perhaps
we could
Hi,
the question is how can i get all pte's from a vmalloc'ed memory. Due to
the zeroed mapping pointer i dont see how to do this?
Am Dienstag, den 30.10.2007, 10:56 +0100 schrieb Peter Zijlstra:
On Mon, 2007-10-29 at 21:22 -0400, Jaya Kumar wrote:
On 10/29/07, Peter Zijlstra [EMAIL
On Tue, 30 Oct 2007, Stefani Seibold wrote:
the question is how can i get all pte's from a vmalloc'ed memory. Due to
the zeroed mapping pointer i dont see how to do this?
The mapping pointer is zeroed because you've done nothing to set it.
Below is how I answered you a week ago. But this is
On Tue, 2007-10-30 at 12:39 +, Hugh Dickins wrote:
On Tue, 30 Oct 2007, Stefani Seibold wrote:
the question is how can i get all pte's from a vmalloc'ed memory. Due to
the zeroed mapping pointer i dont see how to do this?
The mapping pointer is zeroed because you've done nothing to
On 10/30/07, Peter Zijlstra [EMAIL PROTECTED] wrote:
So page-index does what you want it to, identify which part of the
framebuffer this particular page belongs to.
Ok. I'm attempting to walk the code sequence. Here's what I think:
- driver loads
- driver vmalloc()s its fb
- this creates the
On Tue, 2007-10-30 at 09:16 -0400, Jaya Kumar wrote:
On 10/30/07, Peter Zijlstra [EMAIL PROTECTED] wrote:
So page-index does what you want it to, identify which part of the
framebuffer this particular page belongs to.
Ok. I'm attempting to walk the code sequence. Here's what I think:
-
On Tue, 30 Oct 2007, Peter Zijlstra wrote:
On Tue, 2007-10-30 at 09:16 -0400, Jaya Kumar wrote:
...
- defio mmap adds this vma to private list (equivalent of
address_space or anon_vma)
...
- foreach vma { foreach page { page_mkclean_one(page, vma) }
Yeah, page_mkclean_one(page, vma) will
On Tue, 2007-10-30 at 15:47 +, Hugh Dickins wrote:
On Tue, 30 Oct 2007, Peter Zijlstra wrote:
On Tue, 2007-10-30 at 09:16 -0400, Jaya Kumar wrote:
- defio mmap adds this vma to private list (equivalent of
address_space or anon_vma)
- foreach vma { foreach page {
On 10/29/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote:
>
> [ also, remap_vmalloc_range() suffers similar issues, only file and anon
> have proper rmap ]
>
> I'm not sure we want full rmap for remap_pfn/vmalloc_range, but perhaps
> we could assist drivers in maintaining and using vma lists.
>
> I
On Mon, 2007-10-29 at 19:17 +0100, Peter Zijlstra wrote:
> On Mon, 2007-10-29 at 13:51 -0400, Jaya Kumar wrote:
> > On 10/29/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote:
> > > On Mon, 2007-10-29 at 01:17 -0700, Jaya Kumar wrote:
> > > > An aside, I just tested that deferred IO works fine on
On Mon, 2007-10-29 at 13:51 -0400, Jaya Kumar wrote:
> On 10/29/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote:
> > On Mon, 2007-10-29 at 01:17 -0700, Jaya Kumar wrote:
> > > An aside, I just tested that deferred IO works fine on 2.6.22.10/pxa255.
> > >
> > > I understood from the thread that PeterZ
On 10/29/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote:
> On Mon, 2007-10-29 at 01:17 -0700, Jaya Kumar wrote:
> > An aside, I just tested that deferred IO works fine on 2.6.22.10/pxa255.
> >
> > I understood from the thread that PeterZ is looking into page_mkclean
> > changes which I guess went
On Mon, 2007-10-29 at 01:17 -0700, Jaya Kumar wrote:
> On 10/29/07, Andrew Morton <[EMAIL PROTECTED]> wrote:
> > On Mon, 22 Oct 2007 16:40:57 +0200 Stefani Seibold <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > The problem original occurs with the fb_defio driver
> > > (driver/video/fb_defio.c).
> >
On Monday 29 October 2007 23:35, Peter Zijlstra wrote:
> On Mon, 2007-10-29 at 11:11 +0100, Peter Zijlstra wrote:
> > On Mon, 2007-10-29 at 01:17 -0700, Jaya Kumar wrote:
> > > On 10/29/07, Andrew Morton <[EMAIL PROTECTED]> wrote:
> > > > On Mon, 22 Oct 2007 16:40:57 +0200 Stefani Seibold
<[EMAIL
On Mon, 2007-10-29 at 11:11 +0100, Peter Zijlstra wrote:
> On Mon, 2007-10-29 at 01:17 -0700, Jaya Kumar wrote:
> > On 10/29/07, Andrew Morton <[EMAIL PROTECTED]> wrote:
> > > On Mon, 22 Oct 2007 16:40:57 +0200 Stefani Seibold <[EMAIL PROTECTED]>
> > > wrote:
> > > >
> > > > The problem original
On Mon, 2007-10-29 at 01:17 -0700, Jaya Kumar wrote:
> On 10/29/07, Andrew Morton <[EMAIL PROTECTED]> wrote:
> > On Mon, 22 Oct 2007 16:40:57 +0200 Stefani Seibold <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > The problem original occurs with the fb_defio driver
> > > (driver/video/fb_defio.c).
> >
On 10/29/07, Andrew Morton <[EMAIL PROTECTED]> wrote:
> On Mon, 22 Oct 2007 16:40:57 +0200 Stefani Seibold <[EMAIL PROTECTED]> wrote:
> >
> > The problem original occurs with the fb_defio driver
> > (driver/video/fb_defio.c).
> > This driver use the vm_ops.page_mkwrite() handler for tracking the
On Mon, 22 Oct 2007 16:40:57 +0200 Stefani Seibold <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i have a problem with vmalloc() and vm_ops.page_mkwrite().
>
> ReadOnly access works, but on a write access the VM will
> endless invoke the vm_ops.page_mkwrite() handler.
>
> I tracked down the problem to
On Mon, 22 Oct 2007 16:40:57 +0200 Stefani Seibold [EMAIL PROTECTED] wrote:
Hi,
i have a problem with vmalloc() and vm_ops.page_mkwrite().
ReadOnly access works, but on a write access the VM will
endless invoke the vm_ops.page_mkwrite() handler.
I tracked down the problem to the
On 10/29/07, Andrew Morton [EMAIL PROTECTED] wrote:
On Mon, 22 Oct 2007 16:40:57 +0200 Stefani Seibold [EMAIL PROTECTED] wrote:
The problem original occurs with the fb_defio driver
(driver/video/fb_defio.c).
This driver use the vm_ops.page_mkwrite() handler for tracking the modified
On Mon, 2007-10-29 at 01:17 -0700, Jaya Kumar wrote:
On 10/29/07, Andrew Morton [EMAIL PROTECTED] wrote:
On Mon, 22 Oct 2007 16:40:57 +0200 Stefani Seibold [EMAIL PROTECTED]
wrote:
The problem original occurs with the fb_defio driver
(driver/video/fb_defio.c).
This driver use
On Mon, 2007-10-29 at 11:11 +0100, Peter Zijlstra wrote:
On Mon, 2007-10-29 at 01:17 -0700, Jaya Kumar wrote:
On 10/29/07, Andrew Morton [EMAIL PROTECTED] wrote:
On Mon, 22 Oct 2007 16:40:57 +0200 Stefani Seibold [EMAIL PROTECTED]
wrote:
The problem original occurs with the
On Monday 29 October 2007 23:35, Peter Zijlstra wrote:
On Mon, 2007-10-29 at 11:11 +0100, Peter Zijlstra wrote:
On Mon, 2007-10-29 at 01:17 -0700, Jaya Kumar wrote:
On 10/29/07, Andrew Morton [EMAIL PROTECTED] wrote:
On Mon, 22 Oct 2007 16:40:57 +0200 Stefani Seibold
[EMAIL PROTECTED]
On Mon, 2007-10-29 at 01:17 -0700, Jaya Kumar wrote:
On 10/29/07, Andrew Morton [EMAIL PROTECTED] wrote:
On Mon, 22 Oct 2007 16:40:57 +0200 Stefani Seibold [EMAIL PROTECTED]
wrote:
The problem original occurs with the fb_defio driver
(driver/video/fb_defio.c).
This driver use
On Mon, 2007-10-29 at 13:51 -0400, Jaya Kumar wrote:
On 10/29/07, Peter Zijlstra [EMAIL PROTECTED] wrote:
On Mon, 2007-10-29 at 01:17 -0700, Jaya Kumar wrote:
An aside, I just tested that deferred IO works fine on 2.6.22.10/pxa255.
I understood from the thread that PeterZ is looking
On 10/29/07, Peter Zijlstra [EMAIL PROTECTED] wrote:
On Mon, 2007-10-29 at 01:17 -0700, Jaya Kumar wrote:
An aside, I just tested that deferred IO works fine on 2.6.22.10/pxa255.
I understood from the thread that PeterZ is looking into page_mkclean
changes which I guess went into 2.6.23.
On Mon, 2007-10-29 at 19:17 +0100, Peter Zijlstra wrote:
On Mon, 2007-10-29 at 13:51 -0400, Jaya Kumar wrote:
On 10/29/07, Peter Zijlstra [EMAIL PROTECTED] wrote:
On Mon, 2007-10-29 at 01:17 -0700, Jaya Kumar wrote:
An aside, I just tested that deferred IO works fine on
On 10/29/07, Peter Zijlstra [EMAIL PROTECTED] wrote:
[ also, remap_vmalloc_range() suffers similar issues, only file and anon
have proper rmap ]
I'm not sure we want full rmap for remap_pfn/vmalloc_range, but perhaps
we could assist drivers in maintaining and using vma lists.
I think
Hi,
i have a problem with vmalloc() and vm_ops.page_mkwrite().
ReadOnly access works, but on a write access the VM will
endless invoke the vm_ops.page_mkwrite() handler.
I tracked down the problem to the
struct page.mapping pointer,
which is NULL.
The problem original occurs with the
Hi,
i have a problem with vmalloc() and vm_ops.page_mkwrite().
ReadOnly access works, but on a write access the VM will
endless invoke the vm_ops.page_mkwrite() handler.
I tracked down the problem to the
struct page.mapping pointer,
which is NULL.
The problem original occurs with the
40 matches
Mail list logo