Module Name: src Committed By: skrll Date: Mon Sep 23 05:39:59 UTC 2019
Modified Files: src/sys/kern: subr_pool.c Log Message: Enable POOL_REDZONE with DIAGNOSTIC. The bug in the arm pmap was fixed long ago. To generate a diff of this commit: cvs rdiff -u -r1.258 -r1.259 src/sys/kern/subr_pool.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/subr_pool.c diff -u src/sys/kern/subr_pool.c:1.258 src/sys/kern/subr_pool.c:1.259 --- src/sys/kern/subr_pool.c:1.258 Fri Sep 6 09:19:06 2019 +++ src/sys/kern/subr_pool.c Mon Sep 23 05:39:59 2019 @@ -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 @@ static struct pool phpool[PHPOOL_MAX]; #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