[RFC PATCH] ARM: Assume new page cache pages have dirty D-cache
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Mar 4 23:46:19 EST 2010
On Fri, 2010-03-05 at 10:28 +0900, Paul Mundt wrote:
> In the anonymous page case, flush_anon_page() is always called prior to
> flush_dcache_page(), so flush_anon_page() could just set PG_dcache_clean
> to work around that. That would handle get_user_pages(), too.
Well, currently, we clear PG_arch_1 in flush_dcache_page(), at least on
ppc.
Now, I have a nagging feeling that we might not need to... I'll have to
give it a closer look when I'm back from this extended week-end :-)
Cheers,
Ben.
More information about the linux-arm-kernel
mailing list