mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Torsten Kaiser" <just.for.lkml@googlemail.com>
To: "Michael Buesch" <mb@bu3sch.de>
Cc: "Alan Cox" <alan@lxorguk.ukuu.org.uk>,
	"Adrian Bunk" <bunk@kernel.org>, "Bodo Eggert" <7eggert@gmx.de>,
	"Jan Engelhardt" <jengelh@computergmbh.de>,
	devzero@web.de, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org
Subject: Re: [PATCH] Force UNIX domain sockets to be built in
Date: Mon, 31 Dec 2007 19:37:43 +0100	[thread overview]
Message-ID: <64bb37e0712311037w42bae43ayb3c10b2e0310586d@mail.gmail.com> (raw)
In-Reply-To: <200712311818.12825.mb@bu3sch.de>

On Dec 31, 2007 6:18 PM, Michael Buesch <mb@bu3sch.de> wrote:
> On Monday 31 December 2007 17:38:03 Alan Cox wrote:
> > On Mon, 31 Dec 2007 17:17:19 +0100
> > "Torsten Kaiser" <just.for.lkml@googlemail.com> wrote:
> >
> > > a) this could be disabled during development if you want this
> > > b) this would even only affect development if you add new code that
> > > now needs a EXPORT_SYMBOL that was removed on an earlier build. And
> > > right now this would also need to trigger a rerun of depmod. And the
> > > same trigger could redo this garbage collect.
> > >
> > > Or am I missing something obvious?
> >
> > Development is not a phase seperate from use or distribution. A lot of
> > module testers for distributions will not be compiling their own modules
> > but loading in ones to test provided by their vendor - which may of
> > course then need different ksyms

I understand that point.
I just always assumed that kernel tests meant 'please test this patch'
and doing the compile yourself.

But I'm not convinced be the following:
> As an example, the whole purpose wireless-compat package is
> to load latest bleeding edge wireless stuff into a distribution kernel.
> So people are not required to recompile their kernels for using
> drivers that support their hardware.
> And guess what, it is used a _lot_. And lots of bugs are found with it.
> It increases our testing community a lot.

This looks more like a "regular" out-of-tree module for the purpose of
the suggested symbol garbage collector.
And for that case I already a 'don't use it then'-note.

The base problem is that there already are many options to break
external modules. (CONFIG_MODULES=n ;) )
Or in the case of this wireless module: CONFIG_CRYPTO_ARC4=n
(Without 'arc4' ieee80211_wep_init() will fail, that will fail
ieee80211_register_hw() and so no mac80211 driver could be loaded)

> So, all this wouldn't work, if kernel symbols could randomly get
> nuked by some "garbage collector".
>
> In practice, no distribution would use symbol garbage collection, as the
> only benefit from it would be an increased level of bugreports.

The question I can't answer in this context is: Do distributions want
to support external modules?
Only if yes, your argument is valid. But then they could just disable
this feature and prevent this kind of bugreports.

Torsten

  reply	other threads:[~2007-12-31 18:37 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-31 12:09 Bodo Eggert
2007-12-31 12:20 ` David Miller
2007-12-31 14:03   ` Bodo Eggert
2007-12-31 19:38     ` Al Viro
2008-01-01  3:45       ` Bodo Eggert
2008-01-01  3:48         ` David Miller
2008-01-01  4:48           ` Bodo Eggert
2008-01-01  5:01         ` Theodore Tso
2008-01-02 10:25           ` Herbert Xu
2008-01-02 12:26             ` Bodo Eggert
2007-12-31 12:24 ` Adrian Bunk
2007-12-31 13:26   ` Bodo Eggert
2007-12-31 14:42     ` Adrian Bunk
2007-12-31 15:19       ` Bodo Eggert
2007-12-31 15:34         ` Jan Engelhardt
2007-12-31 17:43           ` Patrick Mau
2007-12-31 22:20             ` Jan Engelhardt
2007-12-31 17:51         ` Adrian Bunk
2007-12-31 18:05         ` Adrian Bunk
2007-12-31 15:55       ` Torsten Kaiser
2007-12-31 15:59         ` Michael Buesch
2007-12-31 16:01           ` Alan Cox
2007-12-31 16:17             ` Torsten Kaiser
2007-12-31 16:38               ` Alan Cox
2007-12-31 17:18                 ` Michael Buesch
2007-12-31 18:37                   ` Torsten Kaiser [this message]
2007-12-31 19:05                     ` Michael Buesch
2007-12-31 16:11           ` Torsten Kaiser
2007-12-31 13:23 devzero

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=64bb37e0712311037w42bae43ayb3c10b2e0310586d@mail.gmail.com \
    --to=just.for.lkml@googlemail.com \
    --cc=7eggert@gmx.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=bunk@kernel.org \
    --cc=devzero@web.de \
    --cc=jengelh@computergmbh.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mb@bu3sch.de \
    --cc=netdev@vger.kernel.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

all inboxes | Powered by JetHome®