Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2009 08:24:14 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Jung-uk Kim <jkim@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r193963 - in head/sys: conf dev/acpica dev/acpica/Osd
Message-ID:  <200906110824.14659.jhb@freebsd.org>
In-Reply-To: <200906102254.n5AMsK1b028497@svn.freebsd.org>
References:  <200906102254.n5AMsK1b028497@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 10 June 2009 6:54:20 pm Jung-uk Kim wrote:
> Author: jkim
> Date: Wed Jun 10 22:54:20 2009
> New Revision: 193963
> URL: http://svn.freebsd.org/changeset/base/193963
> 
> Log:
>   Catch up with r193750 (OsdSynch.c locking changes):
>   
>   - Preallocate some memory for ACPI tasks early enough.  We cannot use
>   malloc(9) any more because spin mutex may be held here.  The reserved
>   memory can be tuned via debug.acpi.max_tasks tunable or ACPI_MAX_TASKS
>   in kernel configuration.  The default is 32 tasks.
>   - Implement a custom taskqueue_fast to wrap the new memory allocation.
>   This implementation is not the fastest in the world but we are being
>   conservative here.

I don't think you need the _acq barriers on your atomics here btw.

-- 
John Baldwin



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