svn commit: r352368 - stable/12/sys/arm64/arm64
Alan Cox
alc at FreeBSD.org
Sun Sep 15 21:32:20 UTC 2019
Author: alc
Date: Sun Sep 15 21:32:19 2019
New Revision: 352368
URL: https://svnweb.freebsd.org/changeset/base/352368
Log:
MFC r349070
Previously, when pmap_remove_pages() destroyed a dirty superpage mapping,
it only called vm_page_dirty() on the first of the superpage's constituent
4KB pages. This revision corrects that error, calling vm_page_dirty() on
all of superpage's constituent 4KB pages.
Modified:
stable/12/sys/arm64/arm64/pmap.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/arm64/arm64/pmap.c
==============================================================================
--- stable/12/sys/arm64/arm64/pmap.c Sun Sep 15 21:27:14 2019 (r352367)
+++ stable/12/sys/arm64/arm64/pmap.c Sun Sep 15 21:32:19 2019 (r352368)
@@ -4055,7 +4055,7 @@ pmap_remove_pages(pmap_t pmap)
switch (lvl) {
case 1:
for (mt = m; mt < &m[L2_SIZE / PAGE_SIZE]; mt++)
- vm_page_dirty(m);
+ vm_page_dirty(mt);
break;
case 2:
vm_page_dirty(m);
More information about the svn-src-stable
mailing list