Time to increase MAX_TASKS?

Andriy Gapon avg at FreeBSD.org
Mon Nov 12 18:06:41 UTC 2012


on 12/11/2012 19:24 Sean Bruno said the following:
> This seems to "do the right thing" for now, any objections?

Nope.  Go for it.

> Index: acpivar.h
> ===================================================================
> --- acpivar.h	(revision 242921)
> +++ acpivar.h	(working copy)
> @@ -476,7 +476,7 @@
>  
>  /* Default maximum number of tasks to enqueue. */
>  #ifndef ACPI_MAX_TASKS
> -#define	ACPI_MAX_TASKS		32
> +#define	ACPI_MAX_TASKS		MAX(32, MAXCPU * 2)
>  #endif
>  
>  /* Default number of task queue threads to start. */
> 
> 


-- 
Andriy Gapon


More information about the freebsd-acpi mailing list