]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Intel describes the behavior of their processors as "undefined" if two or
authoralc <alc@FreeBSD.org>
Sat, 9 Aug 2008 05:46:13 +0000 (05:46 +0000)
committeralc <alc@FreeBSD.org>
Sat, 9 Aug 2008 05:46:13 +0000 (05:46 +0000)
commitd53364aaabf956c53fb21accf05741dc91b4d975
tree6b2432e4944be12c133f438bfdb0e562a299bb0c
parent38a3b8ee43fac3f029495ef12f790b4300865e08
Intel describes the behavior of their processors as "undefined" if two or
more mappings to the same physical page have different memory types, i.e.,
PAT settings.  Consequently, if pmap_change_attr() is applied to a virtual
address range within the kernel map, then the corresponding ranges of the
direct map also need to be changed.  Enhance pmap_change_attr() to handle
this case automatically.

Add a comment describing what pmap_change_attr() does.

Discussed with: jhb
sys/amd64/amd64/pmap.c