[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1236708806.6339.4.camel@quest>
Date: Tue, 10 Mar 2009 18:13:26 +0000
From: Scott James Remnant <scott@...onical.com>
To: Jean Delvare <khali@...ux-fr.org>
Cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: [PATCH 00/31] Add a lot of module alias statements
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:
> > On Tue, 2009-03-10 at 18:46 +0100, Jean Delvare wrote:
> >
> > > 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?
> >
> > 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?
Scott
--
Scott James Remnant
scott@...onical.com
Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)
Powered by blists - more mailing lists