On Friday, November 20, 2015 11:14:57 AM AlexandreFressange wrote:
> Hi,
> 
> On x86_64, every memory page entry has a bit (4) to control its cache method: 
> write-back or write-through.
> 
> But even on identity mapped pages, you still use paging. Say, I want a page 
> to be uncached; I can use the PAT to Uncached.
> 
> In this case, what happens to the bit 4 of the accessed page? is it ignored?

Can you clarify more what you mean by an identity mapped page?  If you mean
the direct map, the OS has to ensure that all mappings of a given physical
page use the same PAT settings, so when a page is mapped with a non-default
PAT setting the page entries for the direct map have to be updated as well as
any other mappings.

-- 
John Baldwin
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "[email protected]"

Reply via email to