Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2005 05:22:50 GMT
From:      David Xu <davidxu@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 68228 for review
Message-ID:  <200501040522.j045MoX1084062@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=68228

Change 68228 by davidxu@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



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