Module Name: src Committed By: rmind Date: Sun Sep 6 23:14:20 UTC 2009
Modified Files: src/sys/uvm: uvm_map.c Log Message: uvmspace_unshare: #if 0-out this function. Q: perhaps remove? AFAIK it was not used for 11 years. To generate a diff of this commit: cvs rdiff -u -r1.281 -r1.282 src/sys/uvm/uvm_map.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/uvm/uvm_map.c diff -u src/sys/uvm/uvm_map.c:1.281 src/sys/uvm/uvm_map.c:1.282 --- src/sys/uvm/uvm_map.c:1.281 Wed Aug 19 04:53:20 2009 +++ src/sys/uvm/uvm_map.c Sun Sep 6 23:14:19 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_map.c,v 1.281 2009/08/19 04:53:20 matt Exp $ */ +/* $NetBSD: uvm_map.c,v 1.282 2009/09/06 23:14:19 rmind Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -71,7 +71,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.281 2009/08/19 04:53:20 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.282 2009/09/06 23:14:19 rmind Exp $"); #include "opt_ddb.h" #include "opt_uvmhist.h" @@ -4146,6 +4146,8 @@ p2->p_vmspace = p1->p_vmspace; } +#if 0 + /* * uvmspace_unshare: ensure that process "p" has its own, unshared, vmspace * @@ -4174,6 +4176,8 @@ uvmspace_free(ovm); /* drop reference to old vmspace */ } +#endif + /* * uvmspace_exec: the process wants to exec a new program */