Re: [PATCH] static_key: WARN on usage before jump_label_init was called

2013-10-07 Thread Steven Rostedt
On Sun, 6 Oct 2013 20:29:19 +0200 Hannes Frederic Sowa wrote: > diff --git a/lib/jump_label_initialized.c b/lib/jump_label_initialized.c > new file mode 100644 > index 000..a668a40 > --- /dev/null > +++ b/lib/jump_label_initialized.c > @@ -0,0 +1,6 @@ > +#include > +#include > + > +bool st

[PATCH] static_key: WARN on usage before jump_label_init was called

2013-10-06 Thread Hannes Frederic Sowa
led. > > > > I'll have to take a deeper look at this on Monday. > > Yes, I understand and saw the commit to call jump_label_init > earlier. Maybe the default could be to insert illegal instructions by > default if we try to replace them with nops or branches afterwards