Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm/pmap Use KERNEL_PID instead of 0
details: https://anonhg.NetBSD.org/src/rev/3b62a88e6643
branches: trunk
changeset: 346473:3b62a88e6643
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Jul 14 15:50:31 2016 +0000
description:
Use KERNEL_PID instead of 0
diffstat:
sys/uvm/pmap/pmap_tlb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d9f0b6f90792 -r 3b62a88e6643 sys/uvm/pmap/pmap_tlb.c
--- a/sys/uvm/pmap/pmap_tlb.c Thu Jul 14 15:49:43 2016 +0000
+++ b/sys/uvm/pmap/pmap_tlb.c Thu Jul 14 15:50:31 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_tlb.c,v 1.16 2016/07/14 15:49:43 skrll Exp $ */
+/* $NetBSD: pmap_tlb.c,v 1.17 2016/07/14 15:50:31 skrll Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_tlb.c,v 1.16 2016/07/14 15:49:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_tlb.c,v 1.17 2016/07/14 15:50:31 skrll Exp $");
/*
* Manages address spaces in a TLB.
@@ -978,7 +978,7 @@
kcpuset_atomic_clear(pm->pm_onproc, cpu_index(ci));
}
#endif
- curcpu()->ci_pmap_asid_cur = 0;
+ curcpu()->ci_pmap_asid_cur = KERNEL_PID;
UVMHIST_LOG(maphist, " <-- done (pm=%p)", pm, 0, 0, 0);
tlb_set_asid(KERNEL_PID);
pmap_tlb_pai_check(cpu_tlb_info(curcpu()));
Home |
Main Index |
Thread Index |
Old Index