Date: Sat, 12 Jun 2010 13:20:38 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern subr_bus.c src/sys/sys bus.h Message-ID: <201006121321.o5CDLYJ7012113@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2010-06-12 13:20:38 UTC
FreeBSD src repository
Modified files:
sys/kern subr_bus.c
sys/sys bus.h
Log:
SVN rev 209104 on 2010-06-12 13:20:38Z by kib
Add modifications of devctl_notify(9) functions that take flags. Use
flags to specify M_WAITOK/M_NOWAIT. M_WAITOK allows devctl to sleep for
the memory allocation.
As Warner noted, allowing the functions to sleep might cause
reordering of the queued notifications.
Reviewed by: imp, jh
MFC after: 3 weeks
Revision Changes Path
1.242 +21 -6 src/sys/kern/subr_bus.c
1.93 +3 -0 src/sys/sys/bus.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006121321.o5CDLYJ7012113>
