Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2002 16:54:18 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 15152 for review
Message-ID:  <200207292354.g6TNsI0c005453@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15152

Change 15152 by peter@peter_mckinley on 2002/07/29 16:53:35

	Attack the kstack problem with a sledge hammer.  This isn't
	pretty folks.

Affected files ...

.. //depot/projects/ia64/sys/kern/kern_thread.c#5 edit

Differences ...

==== //depot/projects/ia64/sys/kern/kern_thread.c#5 (text+ko) ====

@@ -198,7 +198,10 @@
 
 	thread_zone = uma_zcreate("THREAD", sizeof (struct thread),
 	    thread_ctor, thread_dtor, thread_init, thread_fini,
-	    UMA_ALIGN_CACHE, 0);
+	    UMA_ALIGN_CACHE, UMA_ZONE_NOFREE);
+#ifdef __ia64__
+	uma_prealloc(thread_zone, 512);
+#endif
 }
 
 /*

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207292354.g6TNsI0c005453>