svn commit: r243534 - stable/9/sys/dev/acpica
Sean Bruno
sbruno at FreeBSD.org
Mon Nov 26 01:57:22 UTC 2012
Author: sbruno
Date: Mon Nov 26 01:57:22 2012
New Revision: 243534
URL: http://svnweb.freebsd.org/changeset/base/243534
Log:
MFC 242922
Update MAX_TASKS to scale a bit based on MAXCPU
This alleviates issues on newer Sandy/Ivy Bridge gear that seems to require
boatloads more ACPI resources than before.
Modified:
stable/9/sys/dev/acpica/acpivar.h
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/dev/ (props changed)
Modified: stable/9/sys/dev/acpica/acpivar.h
==============================================================================
--- stable/9/sys/dev/acpica/acpivar.h Mon Nov 26 01:54:00 2012 (r243533)
+++ stable/9/sys/dev/acpica/acpivar.h Mon Nov 26 01:57:22 2012 (r243534)
@@ -476,7 +476,7 @@ ACPI_HANDLE acpi_GetReference(ACPI_HANDL
/* 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. */
More information about the svn-src-stable-9
mailing list