From: Greg KH <gregkh@linuxfoundation.org>
To: Andy Lutomirski <luto@amacapital.net>
Cc: cee1 <fykcee1@gmail.com>, LKML <linux-kernel@vger.kernel.org>,
Lennart Poettering <lennart@poettering.net>,
David Herrmann <dh.herrmann@gmail.com>,
One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Subject: Re: Revisit AF_BUS: is it a better way to implement KDBUS?
Date: Thu, 30 Jul 2015 21:01:15 -0700 [thread overview]
Message-ID: <20150731040115.GC9785@kroah.com> (raw)
In-Reply-To: <CALCETrXZnefEJwdsb5dPcR_i46BwJakxZLcShqghSCikH6nPbw@mail.gmail.com>
On Thu, Jul 30, 2015 at 11:12:44AM -0700, Andy Lutomirski wrote:
> On Thu, Jul 30, 2015 at 6:09 AM, cee1 <fykcee1@gmail.com> wrote:
> > Hi all,
> >
> > I'm interested in the idea of AF_BUS.
> >
> > There have already been varies discussions about it:
> > * Missing the AF_BUS - https://lwn.net/Articles/504970/
> > * Kroah-Hartman: AF_BUS, D-Bus, and the Linux kernel -
> > http://lwn.net/Articles/537021/
> > * presentation-kdbus -
> > https://github.com/gregkh/presentation-kdbus/blob/master/kdbus.txt
> > * Re: [GIT PULL] kdbus for 4.1-rc1 - https://lwn.net/Articles/641278/
> > * The kdbuswreck - https://lwn.net/Articles/641275/
> >
> > I'm wondering whether it is a better way, that is, a general mechanism
> > to implement varies __Bus__ orientated IPCs, such as Binder[1],
> > DBus[2], etc.
>
> I find myself wondering whether an in-kernel *bus* is a good idea at
> all. Creating a bus that unprivileged programs are allowed to
> broadcast on (which is kind of the point) opens up big cans of worms.
> Namely: what happens when producers produce data faster than the
> consumers consume it? Keep in mind that, with a bus, this scales
> pretty badly. Each producer's sends are multiplied by the number of
> participants.
>
> At some point soon, I'm planning on playing with Fedora Rawhide with
> kdbus. Anything's possible (maybe), but I'd be rather surprised if it
> holds up under abuse of the bus.
Just boot Fedora Rawhide with "kdbus=1" on the kernel command line and
you should be set. If not, please let the kdbus developers know.
thanks,
greg k-h
next prev parent reply other threads:[~2015-07-31 4:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-30 13:09 Revisit AF_BUS: is it a better way to implement KDBUS? cee1
2015-07-30 18:12 ` Andy Lutomirski
2015-07-31 4:01 ` Greg KH [this message]
2015-07-31 9:52 ` cee1
2015-07-31 16:25 ` cee1
2015-07-31 21:15 ` Andy Lutomirski
2015-08-01 2:00 ` cee1
2015-07-31 10:09 ` cee1
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150731040115.GC9785@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=dh.herrmann@gmail.com \
--cc=fykcee1@gmail.com \
--cc=gnomes@lxorguk.ukuu.org.uk \
--cc=lennart@poettering.net \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@amacapital.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox