Re: [PATCH v10 12/12] drivers/block/pmem: Map NVDIMM with ioremap_wt()

From: Ingo Molnar
Date: Mon Jun 01 2015 - 04:58:38 EST



* Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:

> You answered the wrong question. :) I understand the point of the non-temporal
> stores -- I don't understand the point of using non-temporal stores to *WB
> memory*. I think we should be okay with having the kernel mapping use WT
> instead.

WB memory is write-through, but they are still fully cached for reads.

So non-temporal instructions influence how the CPU will allocate (or not allocate)
WT cache lines.

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/