Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/arch/x86/x86 Pull up following revision(s) (requested...
details: https://anonhg.NetBSD.org/src/rev/cf685fdb73c9
branches: netbsd-8
changeset: 434083:cf685fdb73c9
user: snj <snj%NetBSD.org@localhost>
date: Wed Jul 05 20:23:08 2017 +0000
description:
Pull up following revision(s) (requested by jdolecek in ticket #98):
sys/arch/x86/x86/pmap.c: revision 1.252
remove panicstr KASSERT() in pmap_kremove_local() - kernel dump can
legitimely invoked also without panic - via reboot -d
fixes PR kern/49610 by Manuel Bouyer
diffstat:
sys/arch/x86/x86/pmap.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r e679972b9097 -r cf685fdb73c9 sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c Wed Jul 05 20:19:21 2017 +0000
+++ b/sys/arch/x86/x86/pmap.c Wed Jul 05 20:23:08 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.245 2017/03/24 10:58:06 maxv Exp $ */
+/* $NetBSD: pmap.c,v 1.245.6.1 2017/07/05 20:23:08 snj Exp $ */
/*-
* Copyright (c) 2008, 2010, 2016, 2017 The NetBSD Foundation, Inc.
@@ -171,7 +171,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.245 2017/03/24 10:58:06 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.245.6.1 2017/07/05 20:23:08 snj Exp $");
#include "opt_user_ldt.h"
#include "opt_lockdebug.h"
@@ -1146,14 +1146,13 @@
/*
* pmap_kremove_local: like pmap_kremove(), but only worry about
* TLB invalidations on the current CPU. this is only intended
- * for use while writing kernel crash dumps.
+ * for use while writing kernel crash dumps, either after panic
+ * or via reboot -d.
*/
void
pmap_kremove_local(vaddr_t sva, vsize_t len)
{
-
- KASSERT(panicstr != NULL);
pmap_kremove1(sva, len, true);
}
Home |
Main Index |
Thread Index |
Old Index