Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm uvmspace_unshare: #if 0-out this function. Q: perha...
details: https://anonhg.NetBSD.org/src/rev/f051bfbfa041
branches: trunk
changeset: 747240:f051bfbfa041
user: rmind <rmind%NetBSD.org@localhost>
date: Sun Sep 06 23:14:19 2009 +0000
description:
uvmspace_unshare: #if 0-out this function. Q: perhaps remove?
AFAIK it was not used for 11 years.
diffstat:
sys/uvm/uvm_map.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 7882fecef7d1 -r f051bfbfa041 sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Sun Sep 06 21:38:17 2009 +0000
+++ b/sys/uvm/uvm_map.c Sun Sep 06 23:14:19 2009 +0000
@@ -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
*/
Home |
Main Index |
Thread Index |
Old Index