Re: [PATCH v4 4/7] x86, mm, pat: Add pgprot_writethrough() for WT

From: Andy Lutomirski
Date: Tue Nov 04 2014 - 10:23:18 EST


On Mon, Nov 3, 2014 at 7:34 PM, Elliott, Robert (Server Storage)
<Elliott@xxxxxx> wrote:
>
>
>> -----Original Message-----
>> From: Andy Lutomirski [mailto:luto@xxxxxxxxxxxxxx]
>> Sent: Monday, November 03, 2014 5:01 PM
>> To: Thomas Gleixner
>> Cc: Kani, Toshimitsu; Elliott, Robert (Server Storage); hpa@xxxxxxxxx;
>> mingo@xxxxxxxxxx; akpm@xxxxxxxxxxxxxxxxxxxx; arnd@xxxxxxxx; linux-
>> mm@xxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; jgross@xxxxxxxx;
>> stefan.bader@xxxxxxxxxxxxx; hmh@xxxxxxxxxx; yigal@xxxxxxxxxxxxx;
>> konrad.wilk@xxxxxxxxxx
>> Subject: Re: [PATCH v4 4/7] x86, mm, pat: Add pgprot_writethrough() for
>> WT
>>
>> On Mon, Nov 3, 2014 at 2:53 PM, Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>> wrote:
> ...
>> On the other hand, I thought that _GPL was supposed to be more about
>> whether the thing using it is inherently a derived work of the Linux
>> kernel. Since WT is an Intel concept, not a Linux concept, then I
>> think that this is a hard argument to make.
>
> IBM System/360 Model 85 (1968) had write-through (i.e., store-through)
> caching. Intel might claim Write Combining, though.
>

Arguably WC is, and was, mostly a hack to enable full cacheline writes
without an instruction to do it directly. x86 has such an instruction
now, so WC is less necessary.

In any event, my point wasn't that Intel should get any particular
credit here; it's that this is really a straightforward interface to
program a hardware feature that predates the interface.

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