Re: [PATCH] enforce function inlining for hot functions

From: Hagen Paul Pfeifer
Date: Fri Apr 24 2015 - 16:44:48 EST


On 24 April 2015 at 22:13, Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> wrote:

Hey Paul,

> Hmmm... allyesconfig would have PROVE_RCU=y, which would mean that the
> above two would contain lockdep calls that might in some cases defeat
> inlining. With the more typical production choice of PROVE_RCU=n, I would
> expect these to just be a call instruction, which should get inlined.

I can rebuild and check with PROVE_RCU=n - the question is what is the
reaction to the result? I tend to enforce the inlining anyway for both
rcu functions because nobody is harmed. But wait, the compiler is
already started ... ;-)

Hagen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/