Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm l->l_emap_gen isn't used any more.



details:   https://anonhg.NetBSD.org/src/rev/fc6b5de412ec
branches:  trunk
changeset: 1006345:fc6b5de412ec
user:      ad <ad%NetBSD.org@localhost>
date:      Sun Jan 12 12:55:03 2020 +0000

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

diffstat:

 sys/uvm/uvm_glue.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r b1057135a9ac -r fc6b5de412ec sys/uvm/uvm_glue.c
--- a/sys/uvm/uvm_glue.c        Sun Jan 12 09:29:18 2020 +0000
+++ b/sys/uvm/uvm_glue.c        Sun Jan 12 12:55:03 2020 +0000
@@ -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 @@
         * 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



Home | Main Index | Thread Index | Old Index