Assert that user address is never qremoved.

No objections from:	alc
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2013-02-14 19:21:20 +00:00
parent a58ed3e913
commit 252b1f6e22

View File

@ -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;
}