Date: Sun, 1 Feb 2015 09:53:55 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278024 - user/pho/stress2/misc Message-ID: <201502010953.t119rtph078303@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pho Date: Sun Feb 1 09:53:55 2015 New Revision: 278024 URL: https://svnweb.freebsd.org/changeset/base/278024 Log: Add new finding, fix copy/paste and fix wrong index number. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/mmap11.sh Modified: user/pho/stress2/misc/mmap11.sh ============================================================================== --- user/pho/stress2/misc/mmap11.sh Sun Feb 1 09:50:33 2015 (r278023) +++ user/pho/stress2/misc/mmap11.sh Sun Feb 1 09:53:55 2015 (r278024) @@ -33,6 +33,8 @@ # http://people.freebsd.org/~pho/stress/log/mmap11.txt # No problems seen after r271681. +# http://people.freebsd.org/~pho/stress/log/kostik730.txt, Fixed in r273784 + [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 here=`pwd` @@ -127,8 +129,7 @@ tmmap(void *arg __unused) len = 1LL * 1024 * 1024 * 1024; for (i = 0; i < 100; i++) { - if ((fd = open("/dev/zero", O_CREAT | O_TRUNC | O_RDWR, - 0622)) == -1) + if ((fd = open("/dev/zero", O_RDWR)) == -1) err(1,"open()"); if ((p = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_PRIVATE, @@ -255,7 +256,7 @@ test(void) errc(1, rc, "tmprotect()"); if ((rc = pthread_create(&tid[3], NULL, tmlockall, NULL)) != 0) errc(1, rc, "tmlockall()"); - if ((rc = pthread_create(&tid[3], NULL, tmsync, NULL)) != 0) + if ((rc = pthread_create(&tid[4], NULL, tmsync, NULL)) != 0) errc(1, rc, "tmlockall()"); for (i = 0; i < 100; i++) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502010953.t119rtph078303>