login
Login
/
Register
Search
Search this site:
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
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Peter Zijlstra
Subject:
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
Date: Monday, October 29, 2007 - 11:17 am
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, 7:40 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Andrew Morton
, (Mon Oct 29, 12:40 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Jaya Kumar
, (Mon Oct 29, 1:17 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Peter Zijlstra
, (Mon Oct 29, 3:11 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Peter Zijlstra
, (Mon Oct 29, 5:35 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Nick Piggin
, (Mon Oct 29, 7:28 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Peter Zijlstra
, (Mon Oct 29, 10:01 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Jaya Kumar
, (Mon Oct 29, 10:51 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Peter Zijlstra
, (Mon Oct 29, 11:17 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Peter Zijlstra
, (Mon Oct 29, 3:16 pm)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Jaya Kumar
, (Mon Oct 29, 6:22 pm)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Peter Zijlstra
, (Tue Oct 30, 2:56 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Stefani Seibold
, (Tue Oct 30, 3:49 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Hugh Dickins
, (Tue Oct 30, 5:39 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Peter Zijlstra
, (Tue Oct 30, 6:12 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Jaya Kumar
, (Tue Oct 30, 6:16 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Peter Zijlstra
, (Tue Oct 30, 6:25 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Hugh Dickins
, (Tue Oct 30, 8:47 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Peter Zijlstra
, (Tue Oct 30, 8:51 am)
Re: vm_ops.page_mkwrite() fails with vmalloc on 2.6.23
, Jaya Kumar
, (Thu Nov 1, 1:02 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Trent Waddington
Re: Gaming Interface
Takashi Iwai
Re: [PATCH] usb: usbmixer error path fix
Pekka Enberg
Re: latest -git: suspend: unable to handle kernel paging request (was Re: no_conso...
Dan Carpenter
Re: [patch] dma-debug: off by one issue
Jeremy Fitzhardinge
Re: [patch 1/6] Re-enable VDSO by default with PARAVIRT
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
Marco Peereboom
Re: Singularity OS
Otto Moerbeek
Re: Solved: cron - setusercontext failed for root
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
bnx2x: Fan failure mechanism on additional design
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Colocation donated by:
Syndicate