Re: [PATCH 2/2] ftrace: Adjust priority of ftrace module notifier

From: Steven Rostedt
Date: Fri Jan 29 2016 - 10:49:59 EST

On Fri, 29 Jan 2016 09:45:05 -0600
Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:

> If we do that then I still think it would be a good idea to split up the
> livepatch notifiers, with:
> - INT_MAX-1 for coming so that relocations are all written before any
> other notifiers (besides ftrace) get a chance to run.
> - INT_MIN-1 for going. I don't have a good specific reason, but I think

Do you mean INT_MIN+1 ?

-- Steve

> the symmetry will create less surprises and possibly fewer bugs if the
> module's patched state as seen by the other notifiers is the same for
> coming and going.