From owner-cvs-src-old@FreeBSD.ORG Sat Jun 12 13:21:34 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67FDC10657A2 for ; Sat, 12 Jun 2010 13:21:34 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 476318FC1C for ; Sat, 12 Jun 2010 13:21:34 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o5CDLYfh012114 for ; Sat, 12 Jun 2010 13:21:34 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o5CDLYJ7012113 for cvs-src-old@freebsd.org; Sat, 12 Jun 2010 13:21:34 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <201006121321.o5CDLYJ7012113@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Sat, 12 Jun 2010 13:20:38 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern subr_bus.c src/sys/sys bus.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2010 13:21:34 -0000 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