Limit the number of system taskq threads to the number of CPUs.

They are only used when there is a need for reducing namecache.

Observed by:	kris, csjp
This commit is contained in:
Pawel Jakub Dawidek 2007-04-07 21:41:11 +00:00
parent 1eba4c7948
commit 9a691cb33a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168478
2 changed files with 2 additions and 2 deletions

View File

@ -393,7 +393,7 @@ taskq_t *system_taskq;
* Maxmimum number of entries in global system taskq is
* system_taskq_size * max_ncpus
*/
#define SYSTEM_TASKQ_SIZE 64
#define SYSTEM_TASKQ_SIZE 1
int system_taskq_size = SYSTEM_TASKQ_SIZE;
/*

View File

@ -393,7 +393,7 @@ taskq_t *system_taskq;
* Maxmimum number of entries in global system taskq is
* system_taskq_size * max_ncpus
*/
#define SYSTEM_TASKQ_SIZE 64
#define SYSTEM_TASKQ_SIZE 1
int system_taskq_size = SYSTEM_TASKQ_SIZE;
/*