There is something new on the BUS1 or DBUS front:
BUS1 Didn't Land This Year, But It's Making Progress
Collapse
X
-
Originally posted by interested View Post
Again that is completely wrong. At no point did Linus T. nor anybody else claim that kdbus was slow. What Linus T. pointed out that was that user space dbus daemon was slow because it was inefficiently optimized. And unoptimized user space code is no reason for moving code to kernel space (see the old TUX discussion on LKML for that).
Again, at no point did Linus claim kdbus was slow and consequently never NACKed kdbus for not being fast enough, in fact in the quoted post he explicitly says he expect to merge kdbus into the mainline Linux kernel tree if asked.
Linux said dbus is slow because it was written badly, thus the argument kdbus is faster is like saying my ferrari (kdbus) is faster than your Trabbi (dbus). Anything is faster than the Trabbi. Thus the pro-kdbus argument is faster wath bogus to him.
Leave a comment:
-
-
Originally posted by Stellarwind View PostIt is IPC? Yes. Are there other IPCs already in the kernel? Yes. => just another ipc.
Originally posted by Stellarwind View PostIt is basically a binder with multicast and message ordering (but who really needs them?)Last edited by pal666; 28 December 2016, 10:27 PM.
Leave a comment:
-
-
Originally posted by pal666 View Postit is not just another ipc. it is bus1. you could read its docs if you want to know difference
It is basically a binder with multicast and message ordering (but who really needs them?)
Leave a comment:
-
-
Originally posted by trek View Post
and a bug in the kernel code runs as uid 0
A kernel based IPC like bus1 will without doubt be a much more secure than any existing user space alternative.
Leave a comment:
-
-
Originally posted by interested View PostOne of the reasons for having kernel IPC like bus1 is exactly the increased security since it gives LSMs (Linux Security Modules) a chance to eg. inspect and control bus messages from the kernel, instead of from the much more insecure user space.
Leave a comment:
-
-
Originally posted by darkbasic View PostNo, simply because I don't want to read the whole LKML thread once again.
Originally posted by darkbasic View PostIf kdbus was going to be merged why did they abandon it, after being so determined to mainline it?
Secondly, bus1, despite being a different beast altogether, is also the successor to kdbus. So the goal of kdbus still exist though bus1 is now much more ambitious and generic solution.
So this is just totally standard LKML procedure; developers propose something, it gets criticized on LKML, the developers redevelop the patches in response etc. Sometimes this means that the finally accepted code is a totally new design that bears little resemblance with the original proposal.
In this case one of the first questions several kernel developers asked when kdbus was proposed, was why kdbus wasn't much more generic. Since the Linux kernel doesn't have any good generic IPC, many developers would really like such a generic solution instead of the much more scope limited shared bus design of kdbus. bus1 is exactly such answer to that criticism.
They also removed any direct or indirect links to dbus so that the inherently slow design of dbus doesn't turn this into a TUXv2 debate about user space vs kernel code. They still expect to run dbus on top of bus1, just like on kdbus though.
In short, the goal of kdbus still lives on in bus1, but in a new much more ambitious form in response criticism on LKML, and that is just how lots of kernel development is done.
Leave a comment:
-
-
Originally posted by tomtomme View PostI remember one reason to not merge kdbus yet was, that it did not deliver performance wise. And performance was one of its primary goals over dbus. Its written in linus lkml post thats linked above, but only partly cited.
why the devs did not fix perf, i dont know. Maybe they are still trying.
Again, at no point did Linus claim kdbus was slow and consequently never NACKed kdbus for not being fast enough, in fact in the quoted post he explicitly says he expect to merge kdbus into the mainline Linux kernel tree if asked.
Leave a comment:
-
-
I remember one reason to not merge kdbus yet was, that it did not deliver performance wise. And performance was one of its primary goals over dbus. Its written in linus lkml post thats linked above, but only partly cited.
why the devs did not fix perf, i dont know. Maybe they are still trying.Last edited by tomtomme; 28 December 2016, 03:51 AM.
Leave a comment:
-
-
Originally posted by interested View Postwhich is probably why you haven't backed it up with a LKML quote.
Leave a comment:
-
Leave a comment: