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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to