Date: Mon, 12 Nov 2012 10:10:29 -0800 From: Sean Bruno <seanbru@yahoo-inc.com> To: Andriy Gapon <avg@FreeBSD.org> Cc: "freebsd-acpi@freebsd.org" <freebsd-acpi@FreeBSD.org> Subject: RE: Time to increase MAX_TASKS? Message-ID: <29A69584ADF77C4CA69C00622A6E4C9D25EB7EA710@SP2-EX07VS07.ds.corp.yahoo.com> In-Reply-To: <50A13AA7.4030700@FreeBSD.org> 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>,<50A13AA7.4030700@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
________________________________________ From: Andriy Gapon [avg@FreeBSD.org] Sent: Monday, November 12, 2012 10:06 AM To: sbruno@FreeBSD.org Cc: Sean Bruno; freebsd-acpi@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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- 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=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29A69584ADF77C4CA69C00622A6E4C9D25EB7EA710>