All of lore.kernel.org
 help / color / mirror / Atom feed
* try_module_get and friends
@ 2008-03-04  5:20 Jon Masters
  2008-03-04  5:28 ` Jon Masters
  0 siblings, 1 reply; 12+ messages in thread
From: Jon Masters @ 2008-03-04  5:20 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: linux-rt-users, Ingo Molnar, Thomas Gleixner

Yo,

Ok...so I might just be missing something and you guys will set me right
if that is indeed the case, but...

What's protecting the -RT kernel from assumptions about atomicity of
module symbol references? Specifically, the kernel doesn't normally need
to protect against inter-module symbol references to EXPORT_SYMBOL(s),
however, it requires special protection when a function pointer is being
passed around - that's why we use things like try_module_get. But it is
assumed that it is ok not to do this in atomic contexts.

So, what's protecting the RT kernel from falling over if a CPU frequency
governor module is removed at the wrong moment?

Jon.



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-03-10  5:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-04  5:20 try_module_get and friends Jon Masters
2008-03-04  5:28 ` Jon Masters
2008-03-04 20:07   ` Jon Masters
2008-03-05 19:30     ` Daniel Walker
2008-03-05 19:47       ` Steven Rostedt
2008-03-05 20:28         ` Daniel Walker
2008-03-05 20:46         ` Frank Ch. Eigler
2008-03-05 20:54           ` Steven Rostedt
2008-03-05 21:15             ` Daniel Walker
2008-03-07 16:16               ` Paul E. McKenney
2008-03-05 21:14           ` Steven Rostedt
2008-03-10  5:53             ` Jon Masters

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.