Remove a GIANT_REQUIRED on the kernel object that we no longer need.

This commit is contained in:
Alan Cox 2003-06-25 05:31:02 +00:00
parent dd5e55f872
commit 95018011e5

View File

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