Re: [RFC PATCH v5 0/7] Speed booting by sorting ORC unwind tables at build time

From: Peter Zijlstra
Date: Mon Dec 02 2019 - 05:33:05 EST


On Thu, Nov 28, 2019 at 07:01:59PM +0800, Shile Zhang wrote:
> This series refactored the original sortextable tools, add ORC unwind
> tables sort at build time.
>
> To sort the ORC unwind tables(.orc_unwind & .orc_unwind_ip) can save
> about 100ms in my test ENV (2C4G VM w/ Xeon 2.5GHz CPU).
> It costs about 30ms sort by new sorttable tool.

IIRC from your previous emails the new build-time sort is actually
shorter than that, so even for single build+run scenarios we win.

The code looks good to me, so:

Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>

Who it going to apply this? I suppose we could take it through -tip,
like we do with all x86 and objtool related bits.