svn commit: r286876 - user/pho/stress2/misc

Peter Holm pho at FreeBSD.org
Tue Aug 18 09:06:00 UTC 2015


Author: pho
Date: Tue Aug 18 09:05:59 2015
New Revision: 286876
URL: https://svnweb.freebsd.org/changeset/base/286876

Log:
  Added problem found and minor cleanup of the code.
  
  Sponsored by:	EMC / Isilon storage division

Modified:
  user/pho/stress2/misc/kevent6.sh

Modified: user/pho/stress2/misc/kevent6.sh
==============================================================================
--- user/pho/stress2/misc/kevent6.sh	Tue Aug 18 09:03:25 2015	(r286875)
+++ user/pho/stress2/misc/kevent6.sh	Tue Aug 18 09:05:59 2015	(r286876)
@@ -31,6 +31,10 @@
 # "Sleeping thread (tid 101094, pid 13104) owns a non-sleepable lock" seen.
 # Fixed in r255798.
 
+# panic: Memory modified after free:
+# https://people.freebsd.org/~pho/stress/log/alan011.txt
+# https://people.freebsd.org/~pho/stress/log/kevent6.txt
+
 . ../default.cfg
 
 odir=`pwd`
@@ -75,6 +79,7 @@ EOF
 #include <sys/wait.h>
 #include <unistd.h>
 
+#define LOOPS 500000
 #define PARALLEL 8
 
 static char path[80];
@@ -106,7 +111,7 @@ test(void *arg __unused)
 	struct kevent ev;
 	struct timespec ts;
 
-	for (i = 0; i < 500000; i++) {
+	for (i = 0; i < LOOPS; i++) {
 		if ((kq = kqueue()) < 0)
 			err(1, "kqueue()");
 


More information about the svn-src-user mailing list