From owner-svn-src-user@FreeBSD.ORG Sun Feb 1 09:53:56 2015 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A93B7A9; Sun, 1 Feb 2015 09:53:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EA6EEEB0; Sun, 1 Feb 2015 09:53:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t119rttS078308; Sun, 1 Feb 2015 09:53:55 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t119rtph078303; Sun, 1 Feb 2015 09:53:55 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201502010953.t119rtph078303@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Sun, 1 Feb 2015 09:53:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278024 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2015 09:53:56 -0000 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++) {