[BACK]Return to uvm_map.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / uvm

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/uvm/uvm_map.c between version 1.171 and 1.172

version 1.171, 2004/05/04 21:33:40 version 1.172, 2004/05/19 22:02:05
Line 3573  uvmspace_free(struct vmspace *vm)
Line 3573  uvmspace_free(struct vmspace *vm)
 {  {
         struct vm_map_entry *dead_entries;          struct vm_map_entry *dead_entries;
         struct vm_map *map = &vm->vm_map;          struct vm_map *map = &vm->vm_map;
           int n;
   
         UVMHIST_FUNC("uvmspace_free"); UVMHIST_CALLED(maphist);          UVMHIST_FUNC("uvmspace_free"); UVMHIST_CALLED(maphist);
   
         UVMHIST_LOG(maphist,"(vm=0x%x) ref=%d", vm, vm->vm_refcnt,0,0);          UVMHIST_LOG(maphist,"(vm=0x%x) ref=%d", vm, vm->vm_refcnt,0,0);
         simple_lock(&map->ref_lock);          simple_lock(&map->ref_lock);
         int n = --vm->vm_refcnt;          n = --vm->vm_refcnt;
         simple_unlock(&map->ref_lock);          simple_unlock(&map->ref_lock);
         if (n > 0)          if (n > 0)
                 return;                  return;

Legend:
Removed from v.1.171  
changed lines
  Added in v.1.172

CVSweb <webmaster@jp.NetBSD.org>