Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752577AbbHaAGp (ORCPT ); Sun, 30 Aug 2015 20:06:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56929 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751879AbbHaAGo (ORCPT ); Sun, 30 Aug 2015 20:06:44 -0400 Date: Sun, 30 Aug 2015 20:06:42 -0400 From: "Frank Ch. Eigler" To: rusty@rustcorp.com.au Cc: linux-kernel@vger.kernel.org Subject: timing of module MODULE_STATE_COMING notifier Message-ID: <20150831000642.GG29756@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1133 Lines: 29 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 Date: Wed May 14 10:54:19 2014 +0930 - FChE -- 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/