On Friday 02 March 2007 22:36:43 Jordan Crouse wrote:
> +static inline int console_event_register(struct notifier_block *n)
> +{
> +       return raw_notifier_chain_register(&console_notifier_list, n);
> +}
> +
> +static inline int console_event_unregister(struct notifier_block *n)
> +{
> +       return raw_notifier_chain_unregister(&console_notifier_list, n);
> +}

Why are you using the raw_notifier_chain? Afaics, this ends you in
the exact race that the atomic_notifier_chain and blocking_notifier_chain
interfaces were introduced for.

        Arnd <><
_______________________________________________
Devel mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/devel

Reply via email to