Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern KSYMS_MAX_ID is too small for i386 kernels built wi...
details: https://anonhg.NetBSD.org/src/rev/d37a7e3d45f2
branches: trunk
changeset: 812699:d37a7e3d45f2
user: gson <gson%NetBSD.org@localhost>
date: Sun Dec 27 20:52:25 2015 +0000
description:
KSYMS_MAX_ID is too small for i386 kernels built with MKDEBUG=yes,
causing a number of ATF tests to fail. Increase it by 50%, from 65536
to 98304.
diffstat:
sys/kern/kern_ksyms.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a39d6b021f43 -r d37a7e3d45f2 sys/kern/kern_ksyms.c
--- a/sys/kern/kern_ksyms.c Sun Dec 27 20:49:01 2015 +0000
+++ b/sys/kern/kern_ksyms.c Sun Dec 27 20:52:25 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_ksyms.c,v 1.82 2015/12/09 16:26:16 maxv Exp $ */
+/* $NetBSD: kern_ksyms.c,v 1.83 2015/12/27 20:52:25 gson Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_ksyms.c,v 1.82 2015/12/09 16:26:16 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_ksyms.c,v 1.83 2015/12/27 20:52:25 gson Exp $");
#if defined(_KERNEL) && defined(_KERNEL_OPT)
#include "opt_copy_symtab.h"
@@ -102,7 +102,7 @@
#include "ioconf.h"
#endif
-#define KSYMS_MAX_ID 65536
+#define KSYMS_MAX_ID 98304
#ifdef KDTRACE_HOOKS
static uint32_t ksyms_nmap[KSYMS_MAX_ID]; /* sorted symbol table map */
#else
Home |
Main Index |
Thread Index |
Old Index