diff options
author | alc <alc@FreeBSD.org> | 2003-06-25 05:31:02 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-06-25 05:31:02 +0000 |
commit | 8ef02c40021131987c542e94fde4f67980be8270 (patch) | |
tree | 5b6c1245e6512825a999a26eb823087ba0dbd7db /sys | |
parent | a4f8c4746ab921c5e10269e83f950862f996bc67 (diff) | |
download | FreeBSD-src-8ef02c40021131987c542e94fde4f67980be8270.zip FreeBSD-src-8ef02c40021131987c542e94fde4f67980be8270.tar.gz |
Remove a GIANT_REQUIRED on the kernel object that we no longer need.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vm_map.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index 66b6023..ca8b798 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -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); |