Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2007 06:45:55 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Nate Lawson <njl@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: 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
Message-ID:  <20070622034555.GD2268@deviant.kiev.zoral.com.ua>
In-Reply-To: <200706212250.l5LMobq4038270@repoman.freebsd.org>
References:  <200706212250.l5LMobq4038270@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--UHrgcb0BFsIl160g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 21, 2007 at 10:50:37PM +0000, Nate Lawson wrote:
> njl         2007-06-21 22:50:37 UTC
>=20
>   FreeBSD src repository
>=20
>   Modified files:
>     etc                  devd.conf rc.suspend rc.resume=20
>     sys/i386/acpica      acpi_machdep.c=20
>     usr.sbin/acpi/acpiconf acpiconf.c=20
>     sys/dev/acpica       acpi.c acpiio.h acpivar.h=20
>   Log:
>   Update the suspend/resume user API while maintaining backwards compat.
>  =20
>   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.

--UHrgcb0BFsIl160g
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGe0XyC3+MBN1Mb4gRAvYXAKCGsACMh2o+X8DhqzkRhbFJ90M0ZgCfYuXJ
1rFGi2eCL7yw0cckudSnbUg=
=y+lx
-----END PGP SIGNATURE-----

--UHrgcb0BFsIl160g--



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