Re: Missing cache flush.

James Sutherland (jas88@cam.ac.uk)
Wed, 6 Jun 2001 09:43:30 +0100 (BST)


> On Tue, Jun 05, 2001 at 07:01:28PM +0200, Jamie Lokier wrote:
>
> Whether this works depends on the cache line replacement policy.
> It will always work with LRU, for example, and probably
> everything else that exists. But it is not guaranteed, is it?

LFU, if used, wouldn't be flushed by this trick... Potentially, you could
have a slice of kernel interrupt handler sitting in a cache line, having
been accessed $BIG_NUMBER times... (Does anything actually use this
approach, though???)

James.

-
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/