Author: kib
Date: Thu Feb 14 19:21:20 2013
New Revision: 246801
URL: http://svnweb.freebsd.org/changeset/base/246801
Log:
Assert that user address is never qremoved.
No objections from: alc
MFC after: 1 week
Modified:
head/sys/amd64/amd64/pmap.c
Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c Thu Feb 14 18:41:12 2013 (r246800)
+++ head/sys/amd64/amd64/pmap.c Thu Feb 14 19:21:20 2013 (r246801)
@@ -1481,6 +1481,7 @@ pmap_qremove(vm_offset_t sva, int count)
va = sva;
while (count-- > 0) {
+ KASSERT(va >= VM_MIN_KERNEL_ADDRESS, ("usermode va %lx", va));
pmap_kremove(va);
va += PAGE_SIZE;
}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"