login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
December
»
9
Re: [PATCH] kbuild: implement modules.order, take #2
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Sam Ravnborg <sam@...>
To: Tejun Heo <htejun@...>
Cc: Linux Kernel <linux-kernel@...>, <notting@...>, <rusty@...>, <kay.sievers@...>, Greg KH <greg@...>
Subject:
Re: [PATCH] kbuild: implement modules.order, take #2
Date: Sunday, December 9, 2007 - 4:11 am
On Fri, Dec 07, 2007 at 09:04:30PM +0900, Tejun Heo wrote:
quoted text
> When multiple built-in modules (especially drivers) provide the same > capability, they're prioritized by link order specified by the order > listed in Makefile. This implicit ordering is lost for loadable > modules. > > When driver modules are loaded by udev, what comes first in > modules.alias file is selected. However, the order in this file is > indeterministic (depends on filesystem listing order of installed > modules). This causes confusion. > > The solution is two-parted. This patch updates kbuild such that it > generates and installs modules.order which contains the name of > modules ordered according to Makefile. The second part is update to > depmod such that it generates output files according to this file. > > Note that both obj-y and obj-m subdirs can contain modules and > ordering information between those two are lost from beginning. > Currently obj-y subdirs are put before obj-m subdirs. > > Sam Ravnborg cleaned up Makefile modifications and suggested using awk > to remove duplicate lines from modules.order instead of using separate > C program. > > Signed-off-by: Tejun Heo <htejun@gmail.com> > Cc: Sam Ravnborg <sam@ravnborg.org> > Cc: Bill Nottingham <notting@redhat.com> > Cc: Rusty Russell <rusty@rustcorp.com.au> > Cc: Greg Kroah-Hartman <gregkh@suse.de> > Cc: Kay Sievers <kay.sievers@vrfy.org>
Applied to kbuild.git. Sam --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] kbuild: implement modules.order, take #2
, Tejun Heo
, (Fri Dec 7, 8:04 am)
Re: [PATCH] kbuild: implement modules.order, take #2
, Greg KH
, (Thu Dec 13, 3:11 am)
Re: [PATCH] kbuild: implement modules.order, take #2
, Sam Ravnborg
, (Sun Dec 9, 4:11 am)
[PATCH] depmod: sort output according to modules.order, take...
, Tejun Heo
, (Fri Dec 7, 8:07 am)
Re: [PATCH] depmod: sort output according to modules.order, ...
, Greg KH
, (Thu Dec 13, 3:12 am)
Re: [PATCH] depmod: sort output according to modules.order, ...
, Tejun Heo
, (Sun Dec 9, 5:30 am)
Re: [PATCH] depmod: sort output according to modules.order, ...
, Tejun Heo
, (Wed Jan 2, 7:13 am)
Re: [PATCH] depmod: sort output according to modules.order, ...
, Rusty Russell
, (Wed Jan 2, 7:12 pm)
Re: [PATCH] depmod: sort output according to modules.order, ...
, Jon Masters
, (Wed Jan 2, 7:58 pm)
Re: [PATCH] depmod: sort output according to modules.order, ...
, Tejun Heo
, (Thu Nov 13, 7:36 am)
Re: [PATCH] depmod: sort output according to modules.order, ...
, Jon Masters
, (Sat Nov 15, 3:20 pm)
Re: [PATCH] depmod: sort output according to modules.order, ...
, Tejun Heo
, (Sun Nov 16, 1:25 am)
Re: [PATCH] depmod: sort output according to modules.order, ...
, Kay Sievers
, (Sun Nov 16, 12:13 pm)
Re: [PATCH] depmod: sort output according to modules.order, ...
, Jon Masters
, (Thu Nov 13, 3:30 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
Re: [GIT]: Networking
Jarek Poplawski
[PATCH iproute2] Re: HTB accuracy for high speed
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
569 guests
online.
Online users
strcmp
Syndicate