Re: [PATCH] Proposed module init race fix.

Werner Almesberger (wa@almesberger.net)
Wed, 15 Jan 2003 23:55:01 -0300


Rusty Russell wrote:
> And see remove_proc_entry, or notifier_chain_unregister for
> counterexamples. No doubt there are others.

Perhaps some convenient include file should contain something like
this:

#ifdef CONFIG_DEBUG_KERNEL
#define whistleblower() \
printk(KERN_ERR "this interface may call back after deregistration\n");
#else
#define whistleblower() /* no failure is silent in Oopsland */
#endif

? ;-)

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, Buenos Aires, Argentina         wa@almesberger.net /
/_http://www.almesberger.net/____________________________________________/
-
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/