From owner-svn-src-user@FreeBSD.ORG Tue May 26 11:13:09 2015 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0ED5E7FF; Tue, 26 May 2015 11:13:09 +0000 (UTC) (envelope-from pho@FreeBSD.org) 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 F2315F81; Tue, 26 May 2015 11:13:08 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QBD8Do084266; Tue, 26 May 2015 11:13:08 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4QBD8Is084264; Tue, 26 May 2015 11:13:08 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201505261113.t4QBD8Is084264@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Tue, 26 May 2015 11:13:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r283563 - 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.20 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: Tue, 26 May 2015 11:13:09 -0000 Author: pho Date: Tue May 26 11:13:07 2015 New Revision: 283563 URL: https://svnweb.freebsd.org/changeset/base/283563 Log: Without a swap disk these tests will fail with "kstack allocation failed". Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/pthread5.sh user/pho/stress2/misc/pthread7.sh Modified: user/pho/stress2/misc/pthread5.sh ============================================================================== --- user/pho/stress2/misc/pthread5.sh Tue May 26 10:29:37 2015 (r283562) +++ user/pho/stress2/misc/pthread5.sh Tue May 26 11:13:07 2015 (r283563) @@ -31,6 +31,7 @@ # Stress shchan allocations. . ../default.cfg +[ `swapinfo | wc -l` -eq 1 ] && exit 0 # kstack allocation failed here=`pwd` cd /tmp Modified: user/pho/stress2/misc/pthread7.sh ============================================================================== --- user/pho/stress2/misc/pthread7.sh Tue May 26 10:29:37 2015 (r283562) +++ user/pho/stress2/misc/pthread7.sh Tue May 26 11:13:07 2015 (r283563) @@ -31,6 +31,7 @@ # PTHREAD_PRIO_INHERIT version of pthread2.sh . ../default.cfg +[ `swapinfo | wc -l` -eq 1 ] && exit 0 # kstack allocation failed export LANG=C here=`pwd` @@ -259,7 +260,7 @@ main(void) signal(SIGINFO, hand); signal(SIGALRM, ahand); - alarm(300); + alarm(400); if ((rc = pthread_create(&tid[0], NULL, loop_create, NULL)) != 0) errc(1, rc, "pthread_create()"); if ((rc = pthread_create(&tid[1], NULL, loop_rename, NULL)) != 0)