summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2006-12-04 12:55:00 +0000
committercognet <cognet@FreeBSD.org>2006-12-04 12:55:00 +0000
commitf302efe50dae79b3825f7ce42868db567ede782e (patch)
tree60b8aabba86b574a06722d49a333a9d074f6419e /sys/arm
parenta2cced1272c6090a51a281d09184c5a6a63553ad (diff)
downloadFreeBSD-src-f302efe50dae79b3825f7ce42868db567ede782e.zip
FreeBSD-src-f302efe50dae79b3825f7ce42868db567ede782e.tar.gz
Do not forget to call pmap_free_l2_bucket() in pmap_remove_pages().
This can fix the pmap-related panics reported on arm. MFC After: 3 days
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/pmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c
index b9cf668..0b0c7dd 100644
--- a/sys/arm/arm/pmap.c
+++ b/sys/arm/arm/pmap.c
@@ -2807,6 +2807,7 @@ pmap_remove_pages(pmap_t pmap)
if (TAILQ_EMPTY(&m->md.pv_list))
vm_page_flag_clear(m, PG_WRITEABLE);
pmap_free_pv_entry(pv);
+ pmap_free_l2_bucket(pmap, l2b, 1);
}
vm_page_unlock_queues();
cpu_idcache_wbinv_all();
OpenPOWER on IntegriCloud