Re: [PATCH v3 15/26] objtool: Delete cleanup()

From: Miroslav Benes
Date: Wed Mar 25 2020 - 08:11:41 EST


On Tue, 24 Mar 2020, Peter Zijlstra wrote:

> Perf shows we spend a measurable amount of time spend cleaning up
> right before we exit anyway. Avoid the needsless work and just
> terminate.
>
> This reduces objtool on vmlinux.o runtime from 5.4s to 4.8s
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
> Acked-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

Reviewed-by: Miroslav Benes <mbenes@xxxxxxx>

M