Date: Mon, 12 Nov 2012 20:06:31 +0200 From: Andriy Gapon <avg@FreeBSD.org> To: sbruno@FreeBSD.org Cc: "freebsd-acpi@freebsd.org" <freebsd-acpi@FreeBSD.org>, Sean Bruno <seanbru@yahoo-inc.com> Subject: Re: Time to increase MAX_TASKS? Message-ID: <50A13AA7.4030700@FreeBSD.org> In-Reply-To: <1352741051.40922.1.camel@powernoodle> References: <1342730963.2656.5.camel@powernoodle.corp.yahoo.com> <201208071730.52899.jhb@freebsd.org> <1344382269.18854.22.camel@powernoodle.corp.yahoo.com> <201208080725.24199.jhb@freebsd.org> <1344445163.2813.2.camel@powernoodle.corp.yahoo.com> <94F2FBAB4432B54E8AACC7DFDE6C92E346B49703@ORSMSX101.amr.corp.intel.com> <1344884070.10417.3.camel@powernoodle.corp.yahoo.com> <1352741051.40922.1.camel@powernoodle>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A13AA7.4030700>