Add a notifier list for VT console modes

Jordan Crouse jordan.crouse at amd.com
Sat Mar 3 19:22:07 EST 2007


On 04/03/07 00:18 +0100, Arnd Bergmann wrote:
> > +       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.

Hmm - I can see that.  I'll change it to blocking.  Thanks.
Jordan

-- 
Jordan Crouse
Senior Linux Engineer
Advanced Micro Devices, Inc.
<www.amd.com/embeddedprocessors>





More information about the Devel mailing list