Module Name:    src
Committed By:   ad
Date:           Sun Jan 12 12:55:03 UTC 2020

Modified Files:
        src/sys/uvm: uvm_glue.c

Log Message:
l->l_emap_gen isn't used any more.


To generate a diff of this commit:
cvs rdiff -u -r1.175 -r1.176 src/sys/uvm/uvm_glue.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_glue.c
diff -u src/sys/uvm/uvm_glue.c:1.175 src/sys/uvm/uvm_glue.c:1.176
--- src/sys/uvm/uvm_glue.c:1.175	Tue Dec 31 22:42:51 2019
+++ src/sys/uvm/uvm_glue.c	Sun Jan 12 12:55:03 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_glue.c,v 1.175 2019/12/31 22:42:51 ad Exp $	*/
+/*	$NetBSD: uvm_glue.c,v 1.176 2020/01/12 12:55:03 ad Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_glue.c,v 1.175 2019/12/31 22:42:51 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_glue.c,v 1.176 2020/01/12 12:55:03 ad Exp $");
 
 #include "opt_kgdb.h"
 #include "opt_kstack.h"
@@ -224,9 +224,6 @@ uvm_lwp_fork(struct lwp *l1, struct lwp 
 	 * the specified entry point will be executed.
 	 */
 	cpu_lwp_fork(l1, l2, stack, stacksize, func, arg);
-
-	/* Inactive emap for new LWP. */
-	l2->l_emap_gen = UVM_EMAP_INACTIVE;
 }
 
 #ifndef USPACE_ALIGN

Reply via email to