From owner-cvs-all@FreeBSD.ORG Thu May 25 11:13:06 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89B7A16A437; Thu, 25 May 2006 11:13:06 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5460443D69; Thu, 25 May 2006 11:13:01 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k4PBD0uE036535 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 May 2006 15:13:00 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k4PBD0Ag036534; Thu, 25 May 2006 15:13:00 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 25 May 2006 15:13:00 +0400 From: Gleb Smirnoff To: Sam Leffler Message-ID: <20060525111300.GJ27819@FreeBSD.org> References: <200605242211.k4OMB8rY077596@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200605242211.k4OMB8rY077596@repoman.freebsd.org> User-Agent: Mutt/1.5.6i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern subr_taskqueue.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 11:13:10 -0000 Sam, On Wed, May 24, 2006 at 10:11:08PM +0000, Sam Leffler wrote: S> sam 2006-05-24 22:11:08 UTC S> S> FreeBSD src repository S> S> Modified files: S> sys/kern subr_taskqueue.c S> Log: S> When starting up threads in taskqueue_start_threads create them S> stopped before adjusting their priority and setting them on the run S> q so they cannot race for resources (pointed out by njl). S> S> While here add a console printf on thread create fails; otherwise S> noone may notice (e.g. return value is always 0 and caller has no S> way to verify). S> S> Reviewed by: jhb, scottl S> MFC after: 2 weeks Since "pointed out by njl", I hope that this fix for the ACPI problem that prevented merging the new taskqueue code to RELENG_6? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE