svn commit: r281846 - head/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Wed Apr 22 09:52:52 UTC 2015
Author: andrew
Date: Wed Apr 22 09:52:51 2015
New Revision: 281846
URL: https://svnweb.freebsd.org/changeset/base/281846
Log:
Remove the calls to panic from pmap_object_init_pt and pmap_clear_modify.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/arm64/arm64/pmap.c
Modified: head/sys/arm64/arm64/pmap.c
==============================================================================
--- head/sys/arm64/arm64/pmap.c Wed Apr 22 01:54:25 2015 (r281845)
+++ head/sys/arm64/arm64/pmap.c Wed Apr 22 09:52:51 2015 (r281846)
@@ -2251,7 +2251,9 @@ pmap_object_init_pt(pmap_t pmap, vm_offs
vm_pindex_t pindex, vm_size_t size)
{
- panic("pmap_object_init_pt");
+ VM_OBJECT_ASSERT_WLOCKED(object);
+ KASSERT(object->type == OBJT_DEVICE || object->type == OBJT_SG,
+ ("pmap_object_init_pt: non-device object"));
}
/*
@@ -2930,7 +2932,8 @@ pmap_clear_modify(vm_page_t m)
*/
if ((m->aflags & PGA_WRITEABLE) == 0)
return;
- panic("pmap_clear_modify");
+
+ /* TODO: We lack support for tracking if a page is modified */
}
/*
More information about the svn-src-head
mailing list