Re: [PATCH] X86: MM: Add PAT Type write-through in combination withmtrr

From: Ingo Molnar
Date: Mon Oct 28 2013 - 06:31:39 EST



* Borislav Petkov <bp@xxxxxxxxx> wrote:

> On Mon, Oct 28, 2013 at 11:17:49AM +0100, Ingo Molnar wrote:
>
> > And regular write-back cacheable isn't sufficient because the
> > CPU could do things like prefetch your range automatically?
>
> Yeah, he's doing a CLFLUSH anyway which basically makes it a
> write-through...

The CLFLUSH is done afterwards (making it a use-once thing), so WB
might still be faster and would avoid the PAT headache ...

Thanks,

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