public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: Scott James Remnant <scott@canonical.com>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: [PATCH 00/31] *** SUBJECT HERE ***
Date: Tue, 10 Mar 2009 18:46:24 +0100	[thread overview]
Message-ID: <20090310184624.4e28d18e@hyperion.delvare> (raw)
In-Reply-To: <cover.1236702228.git.scott@canonical.com>

On Tue, 10 Mar 2009 16:23:48 +0000, Scott James Remnant wrote:
> module-init-tools on most distributions ships with a file that contains a
> large list of aliases to auto-load modules on demand, either by matching
> a MODALIAS string from the kernel uevent, or by the {block,char}-major-*
> aliases requested by the kernel when device nodes are opened.
> 
> There are convenient macros for defining these inside the kernel modules
> themselves, so they are exported by file2alias and put into the files
> created by depmod.  This is far preferable to a file in another package
> that has to be parsed every time modprobe is called (many, many times
> on a typical boot) and may get out of date.

I don't get how it could make any difference in terms of performance.
As far as I know, all the module aliases that come from the kernel are
assembled into /lib/modules/$version/modules.alias when the kernel is
installed, and that file must be processed by modprobe the exact same
way another configuration file would. Or am I missing something?

-- 
Jean Delvare

  parent reply	other threads:[~2009-03-10 17:46 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 ` Jean Delvare [this message]
2009-03-10 17:49   ` [PATCH 00/31] *** SUBJECT HERE *** 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
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=20090310184624.4e28d18e@hyperion.delvare \
    --to=khali@linux-fr.org \
    --cc=akpm@linux-foundation.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