Re: [PATCH 1/4] x86: entry.S: tidy up several suboptimal insns

From: Steven Rostedt
Date: Thu Feb 26 2015 - 07:50:04 EST


On Thu, 26 Feb 2015 12:47:03 +0100
Ingo Molnar <mingo@xxxxxxxxxx> wrote:


> The bona fide removal of a real instruction from a true hot
> path is generally always worth doing, you don't even have
> to 'prove' that it improves things: unless the claim is
> that for some really robust reason the instruction was zero
> cost to begin with.

I agree that removing instructions from hot paths are for the most part
worth doing without any proof, as long as it doesn't change behavior or
increase the memory footprint. But that's not the case here. If the
change does affect behavior or increases memory footprint, then it
should prove itself as worth doing.

-- Steve
--
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/