From: ebiederm@xmission.com (Eric W. Biederman)
To: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Andy Lutomirski <luto@amacapital.net>,
"linux-kernel\@vger.kernel.org" <linux-kernel@vger.kernel.org>,
David Herrmann <dh.herrmann@gmail.com>,
Djalal Harouni <tixxdz@opendz.org>,
Greg KH <gregkh@linuxfoundation.org>,
Havoc Pennington <havoc.pennington@gmail.com>,
One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>,
Tom Gundersen <teg@jklm.no>, Daniel Mack <daniel@zonque.org>
Subject: Re: kdbus: to merge or not to merge?
Date: Wed, 24 Jun 2015 05:41:14 -0500 [thread overview]
Message-ID: <878ub9ie2d.fsf@x220.int.ebiederm.org> (raw)
In-Reply-To: <20150624080502.GA23842@gmail.com> (Ingo Molnar's message of "Wed, 24 Jun 2015 10:05:02 +0200")
Ingo Molnar <mingo@kernel.org> writes:
> Not because I like it so much, but because I think the merge process should be
> stripped of politics and emotion as much as possible: if an initial submission is
> good and addresses all technical review properly, and if the cost to the core
> kernel is low, then barring alternative, fully equivalent and superior patch
> submissions, rejecting it does more harm than good.
This is largely not what happened with kdbus.
The initial submission was problematic. Many pieces of technical review
were not addressed at the time a pull request was sent to Linus. Even
now there are remaining outstanding technical items such as performance
that have not been addressed.
The cost to the rest of the core is potentially quite high as parts of
kdbus double down on the worst mistakes in user interface of the kernel.
Politics and emotion are involved because the discussions around kdbus
have not been honest:
- Lennart Poettering who has been hugely involved in the creation and
the design of kdbus has not shown is face on lkml during the review,
and he seems the only one who can actually answer many of the
technical questions about kdbus.
- Many times it was said some feature of kdbus is not important because
using it was not required, and yet in practice using that feature is
required in the common case.
- Performance has been said to be a large benefit of kdbus and yet in
the common case there will be a number of shared cache lines modifed
for every message sent, for reference counts.
At a quick glance it appears that communication with every system
daemon will be serialized because they all have init as their parent
process, so every reply will modify the reference count of init's
struct pid.
At this point I honestly do not know how to have a technical dialogue
about the code in kdbus.
Pointing out that bumping several reference counts per message is a bad
idea, has gotten no where so far.
Crazy things like using the processes command line (copied from
userspace when a message is sent) for message authentication is still
present in the code.
I don't think any of these things are particularly subtle, hard to
understand, or hard to fix yet months after they have been pointed out
the code persists.
For subtle issues who knows. Every review I have seen seems to get to
a couple of simple things, point them out, and then stops. I am
actually very strongly surprised at how many of these little issues
remain in the code. There were enough changes added to the kdbus tree
to fix small issues since the last merge window I would have thought I
would have had to looked a little harder for problems.
So whatever else the case may be I think the current kdbus code base is
a long way from being ready to be merged.
Eric
next prev parent reply other threads:[~2015-06-24 10:46 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-23 6:06 Andy Lutomirski
2015-06-23 6:31 ` Andy Lutomirski
2015-06-23 6:41 ` Greg KH
2015-06-23 7:22 ` Richard Weinberger
2015-06-23 9:25 ` Martin Steigerwald
2015-06-23 9:38 ` Martin Steigerwald
2015-06-23 15:07 ` Andy Lutomirski
2015-06-25 2:14 ` Steven Rostedt
2015-06-25 2:20 ` Linus Torvalds
2015-06-25 6:01 ` Martin Steigerwald
2015-06-25 6:05 ` Martin Steigerwald
2015-06-25 13:34 ` Theodore Ts'o
2015-06-25 14:03 ` Martin Steigerwald
2015-06-23 9:12 ` Borislav Petkov
2015-07-08 13:54 ` Pavel Machek
2015-07-09 8:39 ` Geert Uytterhoeven
2015-07-09 10:29 ` Joe Perches
2015-07-09 10:57 ` Geert Uytterhoeven
2015-07-09 11:36 ` Pavel Machek
2015-06-23 23:19 ` Linus Torvalds
2015-06-24 0:52 ` Andy Lutomirski
2015-06-24 8:05 ` Ingo Molnar
2015-06-24 10:41 ` Eric W. Biederman [this message]
2015-06-24 10:46 ` Martin Steigerwald
2015-06-24 13:18 ` Ingo Molnar
2015-06-24 17:39 ` David Lang
2015-06-24 18:41 ` Eric W. Biederman
2015-06-24 18:50 ` Martin Steigerwald
2015-06-24 19:12 ` David Lang
2015-06-25 7:57 ` Geert Uytterhoeven
2015-06-25 15:26 ` Steven Rostedt
2015-06-25 6:31 ` Greg KH
2015-06-25 6:48 ` David Lang
2015-06-25 7:47 ` Ingo Molnar
2015-06-25 7:51 ` Ingo Molnar
2015-06-24 11:43 ` Martin Steigerwald
2015-06-24 13:27 ` Ingo Molnar
2015-06-24 9:55 ` Alexander Larsson
2015-06-24 14:38 ` Andy Lutomirski
[not found] ` <CAHr-LrYWNwv6_YLoP-B3duQ1QsjPiTiaEnjBQ7j2brPMeTgA3A@mail.gmail.com>
[not found] ` <CALCETrW3F6YP_H1oRJa47f1DT7B35OubhJYSnq0U-_GmFQHNOA@mail.gmail.com>
2015-06-24 17:11 ` Alexander Larsson
2015-06-24 19:43 ` Andy Lutomirski
2015-06-24 20:45 ` Alexander Larsson
2015-08-03 23:02 ` Andy Lutomirski
2015-08-04 8:58 ` David Herrmann
2015-08-04 13:46 ` Linus Torvalds
2015-08-04 14:09 ` David Herrmann
2015-08-04 14:47 ` Andy Lutomirski
2015-08-05 0:18 ` Andy Lutomirski
2015-08-06 7:06 ` Daniel Mack
2015-08-06 15:27 ` Andy Lutomirski
2015-08-06 17:24 ` Daniel Mack
2015-08-05 7:10 ` David Herrmann
2015-08-05 20:11 ` Andy Lutomirski
2015-08-06 8:04 ` David Herrmann
2015-08-06 8:25 ` Martin Steigerwald
2015-08-06 15:21 ` Andy Lutomirski
2015-08-06 18:14 ` Daniel Mack
2015-08-06 18:43 ` Andy Lutomirski
2015-08-07 14:40 ` Daniel Mack
2015-08-07 15:09 ` Andy Lutomirski
[not found] ` <CA+55aFxDLt-5+=xXeYG4nJKMb8L_iD9FmwTZ2VuughBku-mW3g@mail.gmail.com>
2015-08-09 19:00 ` Greg Kroah-Hartman
2015-08-09 22:11 ` Daniel Mack
2015-08-10 2:10 ` Andy Lutomirski
2015-08-10 17:04 ` Linus Torvalds
2015-08-10 2:48 ` David Lang
2015-08-07 15:37 ` cee1
2015-07-01 0:03 Kalle A. Sandstrom
2015-07-01 16:51 ` David Herrmann
2015-07-06 21:18 ` Kalle A. Sandstrom
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=878ub9ie2d.fsf@x220.int.ebiederm.org \
--to=ebiederm@xmission.com \
--cc=daniel@zonque.org \
--cc=dh.herrmann@gmail.com \
--cc=gnomes@lxorguk.ukuu.org.uk \
--cc=gregkh@linuxfoundation.org \
--cc=havoc.pennington@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=mingo@kernel.org \
--cc=teg@jklm.no \
--cc=tixxdz@opendz.org \
--cc=torvalds@linux-foundation.org \
/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
Powered by JetHome