Re: get_user_pages() cache issues on ARM
- From: Russell King <rmk+lkml@xxxxxxxxxxxxxxxx>
- Date: Sat, 30 Sep 2006 18:05:48 +0100
On Sat, Sep 30, 2006 at 06:59:50PM +0200, Miklos Szeredi wrote:
Hi Russell,
The get_user_pages() vs dcache coherency issue still seems to be
unresolved on ARM.
See flush_anon_page() and flush_kernel_dcache_page() in
Documentation/cachetlb.txt and their implementation on PARISC.
Can you please take a look at this?
I'm sorry, I don't think I have sufficient understanding of the Linux VM
to look at these issues anymore.
The questions I have are:
- where do these pages that get_user_pages() finds and calls flush_anon_page()
on come from?
- why is the current ARM flush_dcache_page() (which is also called after
flush_anon_page()) not sufficient?
- if we implement flush_anon_page() does that mean that we end up flushing
multiple times in some circumstances? If so, how do we avoid this?
I'm really serious - I no longer understand the Linux VM sufficiently to
get this stuff right.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: get_user_pages() cache issues on ARM
- From: Miklos Szeredi
- Re: get_user_pages() cache issues on ARM
- References:
- get_user_pages() cache issues on ARM
- From: Miklos Szeredi
- get_user_pages() cache issues on ARM
- Prev by Date: get_user_pages() cache issues on ARM
- Next by Date: [PATCH 2.6.18-mm2] acpi: add backlight support to the sony_acpi driver
- Previous by thread: get_user_pages() cache issues on ARM
- Next by thread: Re: get_user_pages() cache issues on ARM
- Index(es):
Relevant Pages
- Re: Newbie
... Linux isn't an RTOS. ... Even on an embedded system it's stull
"a ... Older ones used 68K, newer ones use ARM. ... (comp.arch.embedded) - Re: ARM development board
... They have other ARM variants as well. ... Linux kernal on our ARM9 with
good results, and built apps on top of it. ... > the platforms I have come across do
not include SPI or IIC drivers. ... (comp.arch.embedded) - Re: new to ARM
... The ARM-920T core includes MMU, which ought to mean, that you can use a Linux kernel
2.6. ... Citat: "...The AT91SAM9261's on-chip LCD controller supports black-and-white and
up to 16M colors, driving *active TFT* and passive STN LCD displays with a resolution of up to 2048x2048..."
... This ARM platform might be interesting: ... The SR4 Autonomous Mobile Robot:
... (comp.sys.arm) - Re: What specs would your Apple ][ clone have today?
... I'd love a Zaurus. ... I'm a big fan of PalmOS, but I would like a handheld
... In spite of my best efforts I can't get Garux/palm linux to ... which if I'm
not mistaken has an ARM core. ... (comp.sys.apple2) - Re: [RFC][PATCH 1/3] radix priority search tree - objrmap complexity fix
... I've noticed arm and parisc, luckily no arm/parisc user tried my tree ...
some arch was setting a max file offset multiple in the mmap API to ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel)