Flushing data cache on PPC405 in Linux

Dan Malek ppc6dev at digitaldans.com
Fri Feb 25 07:15:03 EST 2011

On Feb 24, 2011, at 6:43 AM, John Linn wrote:

> It seems like this also depends on that fact that __GFP_COLD will  
> work,
> otherwise some of the data could
> already be in the cache such that you're not guaranteed to get
> everything out of the cache.

I wouldn't count on GFP_COLD as a guarantee the data isn't
in the cache.  It's likely, but the generic MM functions just
ensures they are old pages, based on an indication from the
caller that freed the pages.

	-- Dan

More information about the Linuxppc-dev mailing list