[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1267764379.22204.103.camel@pasglop>
Date: Fri, 05 Mar 2010 15:46:19 +1100
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: Paul Mundt <lethal@...ux-sh.org>
Cc: Russell King - ARM Linux <linux@....linux.org.uk>,
Catalin Marinas <catalin.marinas@....com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
James Bottomley <James.Bottomley@...senPartnership.com>
Subject: Re: [RFC PATCH] ARM: Assume new page cache pages have dirty D-cache
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists