Date: Sun, 8 Dec 2019 06:30:47 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r355522 - user/pho/stress2/misc Message-ID: <201912080630.xB86UlSW086923@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pho Date: Sun Dec 8 06:30:46 2019 New Revision: 355522 URL: https://svnweb.freebsd.org/changeset/base/355522 Log: Also catch SIGBUS when accessing an unmapped page. Update the minimum memory requirements to run the test. Reported by: jeff Modified: user/pho/stress2/misc/holdcnt02.sh Modified: user/pho/stress2/misc/holdcnt02.sh ============================================================================== --- user/pho/stress2/misc/holdcnt02.sh Sun Dec 8 04:36:42 2019 (r355521) +++ user/pho/stress2/misc/holdcnt02.sh Sun Dec 8 06:30:46 2019 (r355522) @@ -34,7 +34,7 @@ [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 [ `swapinfo | wc -l` -eq 1 ] && exit 0 -[ `sysctl -n hw.physmem` -lt $((9 * 1024 * 1024 * 1024)) ] && exit 0 +[ `sysctl -n hw.physmem` -lt $((32 * 1024 * 1024 * 1024)) ] && exit 0 . ../default.cfg @@ -168,6 +168,7 @@ reader(void) setproctitle("reader"); signal(SIGSEGV, hand); + signal(SIGBUS, hand); fd = 0; for (;;) { (void)setjmp(jbuf);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912080630.xB86UlSW086923>