cvs commit: src/etc devd.conf rc.resume rc.suspend src/sys/i386/acpica acpi_machdep.c src/usr.sbin/acpi/acpiconf acpiconf.c src/sys/dev/acpica acpi.c acpiio.h acpivar.h

Kostik Belousov kostikbel at gmail.com
Fri Jun 22 03:46:07 UTC 2007


On Thu, Jun 21, 2007 at 10:50:37PM +0000, Nate Lawson wrote:
> njl         2007-06-21 22:50:37 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     etc                  devd.conf rc.suspend rc.resume 
>     sys/i386/acpica      acpi_machdep.c 
>     usr.sbin/acpi/acpiconf acpiconf.c 
>     sys/dev/acpica       acpi.c acpiio.h acpivar.h 
>   Log:
>   Update the suspend/resume user API while maintaining backwards compat.
>   
>   Improvements:
>   * /dev/apm is clonable, allowing multiple listeners for suspend events.
Did you evaluate/tested destroy_dev_sched() KPI for your needs ?

I do not see any protection for several opens going parallel on given cdev.
I.e., I think that si_drv1 assignment in open() could cause problems.
Generally, as I know, system does not enforce any serialization between
calls to cdev methods for mp-safe drivers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20070622/cd0e148e/attachment.pgp


More information about the cvs-src mailing list