svn commit: r193963 - in head/sys: conf dev/acpica
dev/acpica/Osd
John Baldwin
jhb at freebsd.org
Thu Jun 11 14:22:27 UTC 2009
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
More information about the svn-src-all
mailing list