From: Jean Delvare <khali@linux-fr.org>
To: Kay Sievers <kay.sievers@vrfy.org>,
Scott James Remnant <scott@canonical.com>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: [PATCH 00/31] Add a lot of module alias statements
Date: Tue, 10 Mar 2009 21:38:11 +0100 [thread overview]
Message-ID: <20090310213811.56f1ca43@hyperion.delvare> (raw)
In-Reply-To: <ac3eb2510903101122h2ff348e8waa3aee20867892fb@mail.gmail.com>
On Tue, 10 Mar 2009 19:22:16 +0100, Kay Sievers wrote:
> On Tue, Mar 10, 2009 at 19:13, Scott James Remnant <scott@canonical.com> wrote:
> > On Tue, 2009-03-10 at 18:55 +0100, Jean Delvare wrote:
> >> On Tue, 10 Mar 2009 17:49:51 +0000, Scott James Remnant wrote:
> >> > With current modprobe those files are turned into a binary index that
> >> > can be read and processed *much* faster.
> >>
> >> What would prevent the same binary index from being generated from
> >> user-provided module aliases?
> >
> > Why go to all that effort when adding the alias to the kernel is just a
> > one-line change, and then it shows up along with all of the other
> > aliases that depmod generates the existing binary index from?
Well, _you_ used the performance improvement as one of the arguments to
explain why your patches would be good to have. It's only fair to let
us know if and why there is a relation between where the modalias comes
from (kernel module or user config) and the possibility to improve
performance.
> The problem, with a new kernel or module, we know for forever, that we
> have to run depmod, but this is not the case for depmod config files,
> and not really to manage, to require a binary index update here.
You are not really clear, sorry. As Scott said before, modprobe is run
many many times during boot, so it would seem fair to build a binary
index for all configuration files if it helps with performance. A
simple time comparison between all configuration files and the index
should be much faster than parsing all configuration files each time
modprobe is run, shouldn't it?
> But the main point is that we want to put information where it
> belongs: in the module itself. Just look at the crap we ship in
> /etc/modprobe* and you know that externally maintained configs for
> kernel modules just don't work. :)
This I certainly agree with (for module aliases which do have an
interest, that is), no question about that.
--
Jean Delvare
next prev parent reply other threads:[~2009-03-10 20:38 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-10 16:23 [PATCH 00/31] *** SUBJECT HERE *** Scott James Remnant
2009-03-02 16:40 ` [PATCH 01/31] bridge: Auto-load bridge module when socket opened Scott James Remnant
2009-03-10 17:26 ` Stephen Hemminger
2009-03-13 21:27 ` David Miller
2009-03-13 22:12 ` Stephen Hemminger
2009-03-13 22:28 ` David Miller
2009-03-14 10:36 ` Scott James Remnant
2009-03-02 16:44 ` [PATCH 02/31] netlink: Auto-load af_netlink " Scott James Remnant
2009-03-13 21:26 ` David Miller
2009-03-02 16:47 ` [PATCH 03/31] wanrouter: Auto-load wanrouter " Scott James Remnant
2009-03-13 21:28 ` David Miller
2009-03-02 17:03 ` [PATCH 04/31] netfilter: Auto-load ip_queue " Scott James Remnant
2009-03-16 14:31 ` Patrick McHardy
2009-03-02 17:05 ` [PATCH 05/31] netfilter: Auto-load ip6_queue " Scott James Remnant
2009-03-16 14:30 ` Patrick McHardy
2009-03-02 17:06 ` [PATCH 06/31] connector: Auto-load cn " Scott James Remnant
2009-03-02 17:09 ` [PATCH 07/31] scsi: Auto-load scsi_transport_iscsi " Scott James Remnant
2009-03-02 17:38 ` [PATCH 08/31] mtd: Auto-load ftl module when device opened Scott James Remnant
2009-03-02 17:40 ` [PATCH 09/31] paride: Auto-load pcd " Scott James Remnant
2009-03-02 17:40 ` [PATCH 10/31] paride: Auto-load pf " Scott James Remnant
2009-03-02 17:43 ` [PATCH 11/31] mtd: Auto-load nftl " Scott James Remnant
2009-03-02 18:16 ` [PATCH 13/31] input: Auto-load mousedev module when /dev/input/mice opened Scott James Remnant
2009-03-02 18:20 ` [PATCH 14/31] hw_random: Auto-load rng-core module when device opened Scott James Remnant
2009-03-02 18:23 ` [PATCH 15/31] sbus: Auto-load openprom " Scott James Remnant
2009-03-13 21:30 ` David Miller
2009-03-02 18:24 ` [PATCH 16/31] applicom: Auto-load applicom " Scott James Remnant
2009-03-02 18:25 ` [PATCH 17/31] toshiba: Auto-load toshiba " Scott James Remnant
2009-03-02 18:32 ` [PATCH 18/31] cyclades: Auto-load cyclades " Scott James Remnant
2009-03-02 18:39 ` [PATCH 20/31] specialix: Auto-load specialix " Scott James Remnant
2009-03-10 16:58 ` Rogier Wolff
2009-03-02 18:40 ` [PATCH 21/31] video: Auto-load videodev " Scott James Remnant
2009-03-10 17:03 ` Matthias Schwarzott
2009-03-02 18:41 ` [PATCH 22/31] i2c: Auto-load i2c_dev " Scott James Remnant
2009-03-10 16:56 ` Jean Delvare
2009-03-10 17:00 ` Scott James Remnant
2009-03-02 18:42 ` [PATCH 23/31] mtd: Auto-load mtdchar " Scott James Remnant
2009-03-02 18:43 ` [PATCH 24/31] paride: Auto-load pt " Scott James Remnant
2009-03-02 18:45 ` [PATCH 25/31] paride: Auto-load pg " Scott James Remnant
2009-03-02 18:46 ` [PATCH 26/31] usb: Auto-load cdc_acm " Scott James Remnant
2009-03-10 17:08 ` Greg KH
2009-03-10 17:18 ` Scott James Remnant
2009-03-10 18:34 ` Kay Sievers
2009-03-02 18:48 ` [PATCH 27/31] x86: Auto-load msr " Scott James Remnant
2009-03-02 18:49 ` [PATCH 28/31] x86: Auto-load cpuid " Scott James Remnant
2009-03-03 15:32 ` [PATCH 12/31] input: Auto-load mousedev module when psaux " Scott James Remnant
2009-03-21 5:46 ` Dmitry Torokhov
2009-03-03 15:37 ` [PATCH 19/31] riscom8: Auto-load riscom8 module when " Scott James Remnant
2009-03-05 3:55 ` [PATCH 29/31] esp: Auto-load esp " Tim Gardner
2009-03-11 13:46 ` Alan Cox
2009-03-11 17:01 ` Tim Gardner
2009-03-05 15:31 ` [PATCH 30/31] mwave: Auto-load mwave " Scott James Remnant
2009-03-11 13:50 ` Alan Cox
2009-03-10 16:19 ` [PATCH 31/31] scsi: Add scsi type modalias to ch Scott James Remnant
2009-03-10 17:46 ` [PATCH 00/31] *** SUBJECT HERE *** Jean Delvare
2009-03-10 17:49 ` Scott James Remnant
2009-03-10 17:55 ` [PATCH 00/31] Add a lot of module alias statements Jean Delvare
2009-03-10 18:13 ` Scott James Remnant
2009-03-10 18:22 ` Kay Sievers
2009-03-10 20:38 ` Jean Delvare [this message]
2009-03-10 20:53 ` Kay Sievers
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=20090310213811.56f1ca43@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=akpm@linux-foundation.org \
--cc=kay.sievers@vrfy.org \
--cc=linux-kernel@vger.kernel.org \
--cc=scott@canonical.com \
/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