aboutsummaryrefslogtreecommitdiff
path: root/sys/vm
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2003-02-15 20:01:09 +0000
committerAlan Cox <alc@FreeBSD.org>2003-02-15 20:01:09 +0000
commit814f5c92d7fec2b654a30964ed9d5445d8fb9be4 (patch)
treee744ece2091ee9e02b13438c8ed3f55cb59334a3 /sys/vm
parent53b19636493ababb987d7050563df491c2175c30 (diff)
Notes
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_map.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index a4d6dcc9f276..08828159f124 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -965,9 +965,7 @@ vm_map_findspace(
if (map == kernel_map) {
vm_offset_t ksize;
if ((ksize = round_page(start + length)) > kernel_vm_end) {
- mtx_lock(&Giant);
pmap_growkernel(ksize);
- mtx_unlock(&Giant);
}
}
return (0);