mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Remove a GIANT_REQUIRED on the kernel object that we no longer need.
This commit is contained in:
parent
dd5e55f872
commit
95018011e5
1 changed files with 0 additions and 2 deletions
|
|
@ -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 a new issue