From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 12 18:21:33 2012 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25334E47; Mon, 12 Nov 2012 18:21:33 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.bf1.yahoo.com (mrout1-b.corp.bf1.yahoo.com [98.139.253.104]) by mx1.freebsd.org (Postfix) with ESMTP id B19DE8FC08; Mon, 12 Nov 2012 18:21:32 +0000 (UTC) Received: from SP2-EX07CAS02.ds.corp.yahoo.com (sp2-ex07cas02.corp.sp2.yahoo.com [98.137.59.38]) by mrout1-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id qACIB1MG011144 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL); Mon, 12 Nov 2012 10:11:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1352743862; bh=9lYLP3UQu5gIfEPkIS8f6RA2owkJtbtrqBGvXznlZaA=; h=From:To:CC:Date:Subject:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=uN5/72Zk08DbjNZU4sjUF0ek6vRJG75DupWx78fkO/3vXNVUqJzd11ESXX+ksM+/l BJAfU3eZOHq9m+2QE7aabDLx9p7vY6KFDZaYP5hKz3RfSVgoC2YLH+PiG3nW5esmXD laQ5Nq+psAYR7y4oKQsyW1mV1PnWhspApJmxJGKU= Received: from SP2-EX07VS07.ds.corp.yahoo.com ([98.137.59.26]) by SP2-EX07CAS02.ds.corp.yahoo.com ([98.137.59.38]) with mapi; Mon, 12 Nov 2012 10:11:00 -0800 From: Sean Bruno To: Andriy Gapon Date: Mon, 12 Nov 2012 10:10:29 -0800 Subject: RE: Time to increase MAX_TASKS? Thread-Topic: Time to increase MAX_TASKS? Thread-Index: Ac3BAIss4MIf2kIZSda2+eluWiCKcgAAHRTg Message-ID: <29A69584ADF77C4CA69C00622A6E4C9D25EB7EA710@SP2-EX07VS07.ds.corp.yahoo.com> 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> In-Reply-To: <50A13AA7.4030700@FreeBSD.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Milter-Version: master.31+4-gbc07cd5+ X-CLX-ID: 743862003 Cc: "freebsd-acpi@freebsd.org" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2012 18:21:33 -0000 ________________________________________ 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=