usr/src/uts/common/sys/taskq_impl.h
changeset 11854 5351ddd19d45
parent 11173 87f3734e64df
child 13414 b42c1f0432b6
equal deleted inserted replaced
11853:2adca8ef2c23 11854:5351ddd19d45
    17  * information: Portions Copyright [yyyy] [name of copyright owner]
    17  * information: Portions Copyright [yyyy] [name of copyright owner]
    18  *
    18  *
    19  * CDDL HEADER END
    19  * CDDL HEADER END
    20  */
    20  */
    21 /*
    21 /*
    22  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
    22  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
    23  * Use is subject to license terms.
    23  * Use is subject to license terms.
    24  */
    24  */
    25 
    25 
    26 #ifndef	_SYS_TASKQ_IMPL_H
    26 #ifndef	_SYS_TASKQ_IMPL_H
    27 #define	_SYS_TASKQ_IMPL_H
    27 #define	_SYS_TASKQ_IMPL_H
   109 	int		tq_nthreads_max;
   109 	int		tq_nthreads_max;
   110 	int		tq_threads_ncpus_pct;
   110 	int		tq_threads_ncpus_pct;
   111 	int		tq_nalloc;
   111 	int		tq_nalloc;
   112 	int		tq_minalloc;
   112 	int		tq_minalloc;
   113 	int		tq_maxalloc;
   113 	int		tq_maxalloc;
       
   114 	kcondvar_t	tq_maxalloc_cv;
       
   115 	int		tq_maxalloc_wait;
   114 	taskq_ent_t	*tq_freelist;
   116 	taskq_ent_t	*tq_freelist;
   115 	taskq_ent_t	tq_task;
   117 	taskq_ent_t	tq_task;
   116 	int		tq_maxsize;
   118 	int		tq_maxsize;
   117 	taskq_bucket_t	*tq_buckets;	/* Per-cpu array of buckets */
   119 	taskq_bucket_t	*tq_buckets;	/* Per-cpu array of buckets */
   118 	int		tq_instance;
   120 	int		tq_instance;