From 95235380f19105a88cbad905a55b2889ea3a3ba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 27 Nov 2009 12:26:37 +0000 Subject: [PATCH] * Minor clarification. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34307 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/vm/vm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/kernel/vm/vm.cpp b/src/system/kernel/vm/vm.cpp index f8b282e820..b232c4eeaf 100644 --- a/src/system/kernel/vm/vm.cpp +++ b/src/system/kernel/vm/vm.cpp @@ -1107,7 +1107,7 @@ is_valid_spot(addr_t base, addr_t alignedBase, addr_t size, addr_t limit) } -/*! Must be called with this address space's sem held */ +/*! Must be called with this address space's write lock held */ static status_t find_and_insert_area_slot(vm_address_space* addressSpace, addr_t start, addr_t size, addr_t end, uint32 addressSpec, vm_area* area) @@ -1346,7 +1346,7 @@ second_chance: /*! This inserts the area you pass into the specified address space. It will also set the "_address" argument to its base address when the call succeeds. - You need to hold the vm_address_space semaphore. + You need to hold the vm_address_space write lock. */ static status_t insert_area(vm_address_space* addressSpace, void** _address,