Re: [PATCH] Proposed module init race fix.

From: Werner Almesberger (wa@almesberger.net)
Date: Wed Jan 15 2003 - 21:55:01 EST


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/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:56 EST