Re: DRAM unreliable under specific access patern

From: Jiri Kosina
Date: Mon Dec 29 2014 - 07:13:30 EST


On Wed, 24 Dec 2014, Pavel Machek wrote:

> Well... We could periodically scrub (every few miliseconds) pages
> mapped to userspace.

I.e. implement ECC in software. Would be extremely slow though.

> We might be able to do some magic and disallow cache flushes to
> userspace programs.

My understanding is that cflush is not strictly necessary, it only makes
the issue more likely to trigger.

If you modify the pattern so that it neraly fits into cacheline (but not
really), you would be able to produce similar (if not the same) cache
eviction pattern as if without explicit cflush. Right?

--
Jiri Kosina
SUSE Labs

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