public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* timing of module MODULE_STATE_COMING notifier
@ 2015-08-31  0:06 Frank Ch. Eigler
  2015-08-31  1:36 ` Rusty Russell
  0 siblings, 1 reply; 5+ messages in thread
From: Frank Ch. Eigler @ 2015-08-31  0:06 UTC (permalink / raw)
  To: rusty; +Cc: linux-kernel

Hi, Rusty -

We just [1] came across your patch [2] from last year (merged into
3.17), wherein the RO/NX mapping settings for module sections were
moved to an earlier point in the module-loading sequence.

That patch also moved the MODULE_STATE_COMING notifier call to
complete_formation(), which is relatively early to its former
do_init_module() call site.  It now precedes the parse_args(),
mod_sysfs_setup(), and trace_module_load() steps.

Was the latter part of the change intended & necessary?  It is
negatively impacting systemtap, which was relying on
MODULE_STATE_COMING being called from a fairly complete module state -
just before the actual initializer function call.

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=18889

[2] commit 4982223e51e8ea9d09bb33c8323b5ec1877b2b51
Author: Rusty Russell <rusty@rustcorp.com.au>
Date:   Wed May 14 10:54:19 2014 +0930


- FChE

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

end of thread, other threads:[~2015-09-02  6:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-31  0:06 timing of module MODULE_STATE_COMING notifier Frank Ch. Eigler
2015-08-31  1:36 ` Rusty Russell
2015-08-31 12:53   ` Frank Ch. Eigler
2015-08-31 20:40     ` Frank Ch. Eigler
2015-09-02  6:02       ` Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox