Remove a GIANT_REQUIRED on the kernel object that we no longer need.
This commit is contained in:
parent
dd5e55f872
commit
95018011e5
@ -2129,8 +2129,6 @@ vm_map_delete(vm_map_t map, vm_offset_t start, vm_offset_t end)
|
||||
offidxend = offidxstart + count;
|
||||
|
||||
if (object == kernel_object || object == kmem_object) {
|
||||
if (object == kernel_object)
|
||||
GIANT_REQUIRED;
|
||||
VM_OBJECT_LOCK(object);
|
||||
vm_object_page_remove(object, offidxstart, offidxend, FALSE);
|
||||
VM_OBJECT_UNLOCK(object);
|
||||
|
Loading…
Reference in New Issue
Block a user