Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2015 18:36:23 +0000
From:      David Chisnall <theraven@FreeBSD.org>
To:        Rui Paulo <rpaulo@me.com>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, Adrian Chadd <adrian@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, John Baldwin <jhb@freebsd.org>
Subject:   Re: svn commit: r278479 - in head: etc sys/kern
Message-ID:  <575FA8C1-0204-455C-A35A-787C48066AA5@FreeBSD.org>
In-Reply-To: <8e5503e1-755c-49e4-ab4d-a0ad1ae91f97@me.com>
References:  <8e5503e1-755c-49e4-ab4d-a0ad1ae91f97@me.com>

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

On 10 Feb 2015, at 18:30, Rui Paulo <rpaulo@me.com> wrote:
> 
> Another thing I had in mind (which is more work) was to abstract the devctl kernel code in an API which could make it easy to fan out the notifications to multiple /dev devices.  However, that may be overkill.

This kind of notification is something that kdbus is increasingly being used for on Linux.  The primitive allows events to originate either in the kernel or in userspace and to be sent either point-to-point or to a bloom filter set of recipients (so you occasionally get some messages you're not expecting, but hopefully don't get too many spurious wakeups).

David




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?575FA8C1-0204-455C-A35A-787C48066AA5>