Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2010 06:08:34 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r206888 - user/kmacy/head_page_lock_2/sys/vm
Message-ID:  <201004200608.o3K68Ys6036091@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmacy
Date: Tue Apr 20 06:08:34 2010
New Revision: 206888
URL: http://svn.freebsd.org/changeset/base/206888

Log:
  the re-introduction of pmap_release causes pain under page lock

Modified:
  user/kmacy/head_page_lock_2/sys/vm/vm_map.c

Modified: user/kmacy/head_page_lock_2/sys/vm/vm_map.c
==============================================================================
--- user/kmacy/head_page_lock_2/sys/vm/vm_map.c	Tue Apr 20 06:04:55 2010	(r206887)
+++ user/kmacy/head_page_lock_2/sys/vm/vm_map.c	Tue Apr 20 06:08:34 2010	(r206888)
@@ -330,8 +330,10 @@ vmspace_dofree(struct vmspace *vm)
 	(void)vm_map_remove(&vm->vm_map, vm->vm_map.min_offset,
 	    vm->vm_map.max_offset);
 
+#ifndef VM_PAGE_LOCK
 	pmap_release(vmspace_pmap(vm));
 	vm->vm_map.pmap = NULL;
+#endif	
 	uma_zfree(vmspace_zone, vm);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004200608.o3K68Ys6036091>