lkml.org 
[lkml]   [2013]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: WT memory type on x86_64?
On 05/08/2013 09:37 AM, Andy Lutomirski wrote:
>>
>> Not sure whether this is the reason but UC and UC- (as well as WB) are kept like
>> the backward compatible setup. So for systems with and without PAT cache types
>> map to the same. Only WT gets replaced by WC. For that whenever PCD is set it
>> means some uncached type.
>
> This also makes the pgprot_xyz macros faster -- they can do the same
> thing regardless of PAT settings.
>

It also deals with errata in some very old CPUs... old enough that we
don't use PAT on them anyway AFAIK.

-hpa




\
 
 \ /
  Last update: 2013-05-09 01:21    [W:0.060 / U:1.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site