PERFORCE change 68228 for review

David Xu davidxu at FreeBSD.org
Tue Jan 4 05:22:51 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=68228

Change 68228 by davidxu at davidxu_celeron on 2005/01/04 05:22:45

	Remove unused code.

Affected files ...

.. //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_kern.c#8 edit

Differences ...

==== //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_kern.c#8 (text+ko) ====

@@ -56,14 +56,6 @@
  * will be free()'d.
  */
 #define	MAX_CACHED_THREADS	100
-/*
- * Define high water marks for the maximum number of KSEs and KSE groups
- * that will be cached. Because we support 1:1 threading, there could have
- * same number of KSEs and KSE groups as threads. Once these levels are
- * reached, any extra KSE and KSE groups will be free()'d.
- */
-#define	MAX_CACHED_KSES		((_thread_scope_system <= 0) ? 50 : 100)
-#define	MAX_CACHED_KSEGS	((_thread_scope_system <= 0) ? 50 : 100)
 
 /*
  * We've got to keep track of everything that is allocated, not only


More information about the p4-projects mailing list