mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Trent Piepho <xyzzy@speakeasy.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Uwe Bugla <uwe.bugla@gmx.de>,
	akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
	mchehab@infradead.org, mkruky@linuxtv.org, linux-dvb@linuxtv.org
Subject: Re: Critical points about kernel 2.6.21 and pseudo-authorities
Date: Sun, 29 Apr 2007 18:37:00 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0704291753370.315@shell2.speakeasy.net> (raw)
In-Reply-To: <alpine.LFD.0.98.0704291147530.9964@woody.linux-foundation.org>

On Sun, 29 Apr 2007, Linus Torvalds wrote:
> On Sun, 29 Apr 2007, Uwe Bugla wrote:
>
> > BUT: This 2.6.21-git2 is unusable in so far as it contains regressive code
> > in the dvb-section, authored by Trent Piepho, acked by Michael Krufky, and signed-off-by Mauro Carvalho Chehab:
>
> You never explained what the problem even was, apart from compiling in
> some code that you didn't need to before. Didn't it work in the end?
>
> If it worked, I don't see what the big issue was. You are getting a _lot_
> of other code in the kernel that you probably never use, you may not even
> have realized.

I'd like to explain this a bit, for people seeing these messages who haven't
been following this part of dvb development.

dvb-pll is a simple driver for a number of I2C tuners, which are used in
many many TV cards.

These are simple devices, and drivers for host controllers (which usually
support quite a few different models of tv card based on the same core chip)
often didn't use dvb-pll.  They would just re-implement an I2C tuner driver,
sometimes more than once in the same file!

The dvb tree ended up with over a dozen different re-implementations of the
same basic tuner driver.  Of course each implementation would have different
bugs, quirks, and missing features.

So we've been removing this code and using dvb-pll.  If you look at some of
my patches to do this:

 14 files changed, 14 insertions(+), 199 deletions(-)
 1 files changed, 4 insertions(+), 34 deletions(-)
 4 files changed, 17 insertions(+), 204 deletions(-)

These patches fixed bugs and added features, yet are very much net negative
when if comes to lines of code in the kernel.

> any chance to deselect the compilation of the dvb-pll.c-module, as its
> deselection only works for VIDEO_V4L1_COMPAT, NOT for VIDEO_V4L1.

dvb-pll has nothing to do with VIDEO_V4L1_COMPAT or VIDEO_V4L1.  Uwe is just
confused about what is causing what.

> All the almost excellent work that Michael Krufky has offered for that
> issue at the transition from 2.6.18 to 2.6.19 or 2.6.20 (do not remeber
> exactly) is being wiped out and rolled back with his acknowledgement!

Uwe is probably talking about the dvb_attach() system, written mainly by
Andrew de Quincey and myself, which went into 2.6.18.  The basic concept is
that a core driver uses symbol_request() to avoid any strong references to
its helper drivers.  This way only the helper drivers that are actually
needed must be loaded.  We want to make dvb-pll use this system too, but it
doesn't fully work yet.  I have several ideas about how to solve the
problem, but it's not a high priority.

  parent reply	other threads:[~2007-04-30  1:37 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-29 18:22 Uwe Bugla
2007-04-29 18:49 ` Linus Torvalds
2007-04-29 20:59   ` Uwe Bugla
2007-04-29 21:19     ` Linus Torvalds
2007-04-29 23:00       ` Uwe Bugla
2007-04-30  0:58         ` [linux-dvb] " hermann pitton
2007-04-30 11:02           ` Uwe Bugla
2007-04-30 11:21             ` Helge Hafting
2007-04-30 11:50               ` Uwe Bugla
2007-04-30 15:04                 ` Helge Hafting
2007-04-30 15:24                   ` Markus Rechberger
2007-04-30 16:09                   ` Uwe Bugla
2007-04-30 16:56                   ` Mauro Carvalho Chehab
2007-04-30 17:25                     ` Uwe Bugla
2007-04-30 18:04                       ` Linus Torvalds
2007-04-30 18:07                         ` Uwe Bugla
2007-04-30 18:14                       ` Andrew Morton
2007-04-30 18:29                         ` Uwe Bugla
2007-04-30 18:29                       ` Jan Engelhardt
2007-04-30 19:42                         ` Markus Rechberger
2007-04-30 11:35             ` Thomas Gleixner
2007-04-30 11:48             ` Markus Rechberger
2007-04-30 12:37               ` Uwe Bugla
2007-04-30 13:06                 ` Markus Rechberger
2007-04-30 14:09                   ` Uwe Bugla
2007-04-30 15:30                     ` Michael Krufky
2007-04-30 16:39                       ` Uwe Bugla
2007-04-30 14:49                 ` Linus Torvalds
2007-04-30 15:19                   ` Uwe Bugla
2007-04-30 15:56                     ` Linus Torvalds
2007-04-30 22:41                       ` Trent Piepho
2007-04-30 22:58                         ` Manu Abraham
2007-04-30 23:08                           ` Markus Rechberger
2007-04-30 23:40                           ` Uwe Bugla
2007-05-01  0:19                             ` Manu Abraham
2007-05-01  0:29                               ` Markus Rechberger
2007-05-01  9:23                               ` Uwe Bugla
2007-04-30 23:05                         ` Uwe Bugla
2007-04-30 23:20                           ` hermann pitton
2007-04-30  1:37   ` Trent Piepho [this message]
2007-04-30 10:47     ` Uwe Bugla

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=Pine.LNX.4.58.0704291753370.315@shell2.speakeasy.net \
    --to=xyzzy@speakeasy.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-dvb@linuxtv.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=mkruky@linuxtv.org \
    --cc=torvalds@linux-foundation.org \
    --cc=uwe.bugla@gmx.de \
    /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