Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm/pmap Remove duplicate KASSERT
details: https://anonhg.NetBSD.org/src/rev/b07507df8fd8
branches: trunk
changeset: 1029278:b07507df8fd8
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Dec 29 12:53:38 2021 +0000
description:
Remove duplicate KASSERT
diffstat:
sys/uvm/pmap/pmap_tlb.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r fc2ba45f68cd -r b07507df8fd8 sys/uvm/pmap/pmap_tlb.c
--- a/sys/uvm/pmap/pmap_tlb.c Wed Dec 29 08:23:40 2021 +0000
+++ b/sys/uvm/pmap/pmap_tlb.c Wed Dec 29 12:53:38 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_tlb.c,v 1.49 2021/10/27 06:54:15 simonb Exp $ */
+/* $NetBSD: pmap_tlb.c,v 1.50 2021/12/29 12:53:38 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.49 2021/10/27 06:54:15 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_tlb.c,v 1.50 2021/12/29 12:53:38 skrll Exp $");
/*
* Manages address spaces in a TLB.
@@ -866,7 +866,6 @@
* Mark it as used and insert the pai into the list of active asids.
* There is also one less asid free in this TLB.
*/
- KASSERT(ti->ti_asid_hint > KERNEL_PID);
pai->pai_asid = ti->ti_asid_hint++;
#ifdef MULTIPROCESSOR
if (PMAP_TLB_FLUSH_ASID_ON_RESET) {
Home |
Main Index |
Thread Index |
Old Index