login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
29
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Peter Zijlstra <peterz@...>
To: Jaya Kumar <jayakumar.lkml@...>
Cc: Andrew Morton <akpm@...>, <stefani@...>, <linux-kernel@...>, David Howells <dhowells@...>, <linux-mm@...>
Subject:
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
Date: Monday, October 29, 2007 - 2:17 pm
On Mon, 2007-10-29 at 13:51 -0400, Jaya Kumar wrote:
quoted text
> On 10/29/07, Peter Zijlstra <peterz@infradead.org> 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. I'm also happy to help in any > > > way if the way we're doing fb_defio needs to change. > > > > OK, seems I can't read. Or at least, I missed a large part of the > > problem. > > > > page_mkclean() hasn't changed, it was ->page_mkwrite() that changed. And > > looking at the fb_defio code, I'm not sure I understand how its > > page_mkclean() use could ever have worked. > > > > The proposed patch [1] only fixes the issue of ->page_mkwrite() on > > vmalloc()'ed memory. Not page_mkclean(), and that has never worked from > > what I can make of it. > > > > Jaya, could you shed some light on this? I presume you had your display > > working. > > > > I thought I had it working. I saw the display update after each > mmap/write sequence to the framebuffer. I need to check if there's an > munmap or anything else going on in between write sequences that would > cause it to behave like page_mkclean was working. > > Is it correct to assume that page_mkclean should mark the pages > read-only so that the next write would again trigger mkwrite?
Well, yes, that is the intended behaviour.
quoted text
> Even if the page was from a vmalloc_to_page()?
That is the crux, I only ever implemented it for file pages. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
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
, Jaya Kumar
, (Mon Oct 29, 4:17 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
, Jaya Kumar
, (Mon Oct 29, 1:51 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
, Jaya Kumar
, (Mon Oct 29, 9:22 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
, Jaya Kumar
, (Tue Oct 30, 9:16 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)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Amit K. Arora
[RFC] Heads up on sys_fallocate()
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Linus Torvalds
Linux 2.6.25-rc4
Greg KH
Linux 2.6.25.10
git
:
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Ilpo Järvinen
Re: Strange Application bug, race in MSG_PEEK complaints (was: Bug#513695: fetchma...
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
581 guests
online.
Syndicate