Re: [PATCH net-next v4 3/9] static_key: WARN on usage before jump_label_init was called

2013-11-07 Thread Ingo Molnar
* Steven Rostedt wrote: > On Thu, 7 Nov 2013 01:50:27 +0100 > Hannes Frederic Sowa wrote: > > > On Wed, Nov 06, 2013 at 04:16:49PM -0500, Steven Rostedt wrote: > > > Sorry for the late reply, but this was sent while I was getting ready > > > for my two week conference trip. > > > > > > Note,

Re: [PATCH net-next v4 3/9] static_key: WARN on usage before jump_label_init was called

2013-11-06 Thread Steven Rostedt
On Thu, 7 Nov 2013 01:50:27 +0100 Hannes Frederic Sowa wrote: > On Wed, Nov 06, 2013 at 04:16:49PM -0500, Steven Rostedt wrote: > > Sorry for the late reply, but this was sent while I was getting ready > > for my two week conference trip. > > > > Note, this should not go through the net tree, bu

Re: [PATCH net-next v4 3/9] static_key: WARN on usage before jump_label_init was called

2013-11-06 Thread Hannes Frederic Sowa
On Wed, Nov 06, 2013 at 04:16:49PM -0500, Steven Rostedt wrote: > Sorry for the late reply, but this was sent while I was getting ready > for my two week conference trip. > > Note, this should not go through the net tree, but instead should go > through tip, as it deals with jump labels and not ne

Re: [PATCH net-next v4 3/9] static_key: WARN on usage before jump_label_init was called

2013-11-06 Thread Steven Rostedt
Sorry for the late reply, but this was sent while I was getting ready for my two week conference trip. Note, this should not go through the net tree, but instead should go through tip, as it deals with jump labels and not networking. Otherwise, this patch looks good. Reviewed-by: Steven Rostedt

[PATCH net-next v4 3/9] static_key: WARN on usage before jump_label_init was called

2013-10-19 Thread Hannes Frederic Sowa
Usage of the static key primitives to toggle a branch must not be used before jump_label_init() is called from init/main.c. jump_label_init reorganizes and wires up the jump_entries so usage before that could have unforeseen consequences. Following primitives are now checked for correct use: * sta