Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Enable POOL_REDZONE with DIAGNOSTIC.
details: https://anonhg.NetBSD.org/src/rev/5061778e9edd
branches: trunk
changeset: 1003615:5061778e9edd
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Sep 23 05:39:59 2019 +0000
description:
Enable POOL_REDZONE with DIAGNOSTIC.
The bug in the arm pmap was fixed long ago.
diffstat:
sys/kern/subr_pool.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r dff9a2a10536 -r 5061778e9edd sys/kern/subr_pool.c
--- a/sys/kern/subr_pool.c Mon Sep 23 05:00:20 2019 +0000
+++ b/sys/kern/subr_pool.c Mon Sep 23 05:39:59 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_pool.c,v 1.258 2019/09/06 09:19:06 maxv Exp $ */
+/* $NetBSD: subr_pool.c,v 1.259 2019/09/23 05:39:59 skrll Exp $ */
/*
* Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008, 2010, 2014, 2015, 2018
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.258 2019/09/06 09:19:06 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.259 2019/09/23 05:39:59 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -83,7 +83,7 @@
#define PHPOOL_FREELIST_NELEM(idx) \
(((idx) == 0) ? BITMAP_MIN_SIZE : BITMAP_SIZE * (1 << (idx)))
-#if defined(KASAN)
+#if defined(DIAGNOSTIC) || defined(KASAN)
#define POOL_REDZONE
#endif
Home |
Main Index |
Thread Index |
Old Index