]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 196705 and 196707:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 3 Sep 2009 13:54:58 +0000 (13:54 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 3 Sep 2009 13:54:58 +0000 (13:54 +0000)
commit381c9097ba950d297dab32cb4e16fa7d29518957
treed7cb03fa2a163c8c219ca7faa185fae52dbb58a5
parent2c1996b0583274b3f6b3902f03b84f275dd63d7d
MFC 196705 and 196707:
- Improve pmap_change_attr() on i386 so that it is able to demote a large
  (2/4MB) page into 4KB pages as needed.  This should be fairly rare in
  practice.
- Simplify pmap_change_attr() a bit:
  - Always calculate the cache bits instead of doing it on-demand.
  - Always set changed to TRUE rather than only doing it if it is false.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@196780 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/amd64/pmap.c
sys/i386/i386/pmap.c
sys/i386/include/pmap.h