login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
6
Re: Module init call vs symbols exporting race?
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Rusty Russell <rusty@...>
To: Pavel Emelyanov <xemul@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>
Subject:
Re: Module init call vs symbols exporting race?
Date: Tuesday, November 6, 2007 - 8:41 am
On Tuesday 06 November 2007 20:20:58 Pavel Emelyanov wrote:
quoted text
> Hi. > > I looked at the sys_init_module() and found that the ->init callback > for the module is called without the module_mutex held and *after* > the module's symbols are exported. Doesn't this create the race when > loading two modules in parallel? Like this.
Hi Pavel, In a word, no. See "strong_try_module_get()". Cheers, Rusty. -
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:
Module init call vs symbols exporting race?
, Pavel Emelyanov
, (Tue Nov 6, 5:20 am)
Re: Module init call vs symbols exporting race?
, Rusty Russell
, (Tue Nov 6, 8:41 am)
Re: Module init call vs symbols exporting race?
, Jan Glauber
, (Wed Nov 7, 6:01 am)
Re: Module init call vs symbols exporting race?
, Andi Kleen
, (Sat Nov 10, 4:23 pm)
Re: Module init call vs symbols exporting race?
, Rusty Russell
, (Wed Nov 7, 10:10 pm)
Re: Module init call vs symbols exporting race?
, Jan Glauber
, (Fri Nov 9, 12:06 pm)
Re: Module init call vs symbols exporting race?
, Jon Masters
, (Fri Nov 9, 7:44 am)
Re: Module init call vs symbols exporting race?
, Jan Glauber
, (Fri Nov 9, 8:16 am)
Re: Module init call vs symbols exporting race?
, Rusty Russell
, (Sat Nov 10, 3:27 am)
Re: Module init call vs symbols exporting race?
, Jan Glauber
, (Mon Nov 12, 10:03 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Miller
Re: Slow DOWN, please!!!
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
Greg KH
Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Josip Rodin
bnx2_poll panicking kernel
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
944 guests
online.
Online users
cbelgrnc87x
interdinros
Syndicate