Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2012 18:09:25 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r242922 - head/sys/dev/acpica
Message-ID:  <201211121809.qACI9PvT072913@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Mon Nov 12 18:09:25 2012
New Revision: 242922
URL: http://svnweb.freebsd.org/changeset/base/242922

Log:
  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.
  
  Reviewed by:	avg@
  Obtained from:	Yahoo! Inc.
  MFC after:	2 weeks

Modified:
  head/sys/dev/acpica/acpivar.h

Modified: head/sys/dev/acpica/acpivar.h
==============================================================================
--- head/sys/dev/acpica/acpivar.h	Mon Nov 12 15:17:25 2012	(r242921)
+++ head/sys/dev/acpica/acpivar.h	Mon Nov 12 18:09:25 2012	(r242922)
@@ -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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211121809.qACI9PvT072913>