Time to increase MAX_TASKS?
Sean Bruno
seanbru at yahoo-inc.com
Mon Nov 12 18:21:33 UTC 2012
________________________________________
From: Andriy Gapon [avg at FreeBSD.org]
Sent: Monday, November 12, 2012 10:06 AM
To: sbruno at FreeBSD.org
Cc: Sean Bruno; freebsd-acpi at freebsd.org
Subject: Re: Time to increase MAX_TASKS?
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
Done
More information about the freebsd-acpi
mailing list