lkml.org 
[lkml]   [2014]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 2/6] x86, mm, pat: Change reserve_memtype() to handle WT
From
Date
On Wed, 2014-09-10 at 14:39 -0700, H. Peter Anvin wrote:
> On 09/10/2014 02:27 PM, Andy Lutomirski wrote:
> >>
> >> That's possible, but the only benefit is that we can enable WT on
> >> pre-PAT systems, which I do not think anyone cares now... WB & UC work
> >> on pre-PAT systems. WC & WT need PAT. I think this requirement is
> >> reasonable.
> >
> > It might end up being a cleanup, though. A whole bunch of
> > rarely-exercised if (!pat_enabled) things would go away.
> >
>
> Yes. Don't think of it as PAT vs non-PAT. Think of it as a specific
> set of cache types available on different processors. The fact that you
> may have to frob an MSR to initialize it is almost trivial in comparison.

Right.

Thanks,
-Toshi



\
 
 \ /
  Last update: 2014-09-11 00:41    [W:1.023 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site