Assert that user address is never qremoved.
No objections from: alc MFC after: 1 week
This commit is contained in:
parent
a58ed3e913
commit
252b1f6e22
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user