svn commit: r349973 - head/sys/i386/i386
Alan Cox
alc at FreeBSD.org
Sat Jul 13 15:53:29 UTC 2019
Author: alc
Date: Sat Jul 13 15:53:28 2019
New Revision: 349973
URL: https://svnweb.freebsd.org/changeset/base/349973
Log:
Remove a stale comment.
Reported by: markj
MFC after: 1 week
Modified:
head/sys/i386/i386/pmap.c
Modified: head/sys/i386/i386/pmap.c
==============================================================================
--- head/sys/i386/i386/pmap.c Sat Jul 13 15:34:29 2019 (r349972)
+++ head/sys/i386/i386/pmap.c Sat Jul 13 15:53:28 2019 (r349973)
@@ -5096,13 +5096,6 @@ __CONCAT(PMTYPE, ts_referenced)(vm_page_t m)
* reference bit will result in clearing that bit.
* This function is designed to avoid the selection of
* the same 4KB page for every 2- or 4MB page mapping.
- *
- * On demotion, a mapping that hasn't been referenced
- * is simply destroyed. To avoid the possibility of a
- * subsequent page fault on a demoted wired mapping,
- * always leave its reference bit set. Moreover,
- * since the superpage is wired, the current state of
- * its reference bit won't affect page replacement.
*/
if ((((pa >> PAGE_SHIFT) ^ (pv->pv_va >> PDRSHIFT) ^
(uintptr_t)pmap) & (NPTEPG - 1)) == 0 &&
More information about the svn-src-all
mailing list