Re: [PATCH 0/2] Build ORC fast lookup table in scripts/sorttable tool

From: Josh Poimboeuf
Date: Fri May 22 2020 - 14:28:29 EST


On Wed, Apr 29, 2020 at 02:46:24PM +0800, Huaixin Chang wrote:
> Move building of fast lookup table from boot to sorttable tool. This saves us
> 6380us boot time on Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz with cores.
>
> Huaixin Chang (2):
> scripts/sorttable: Build orc fast lookup table via sorttable tool
> x86/unwind/orc: Remove unwind_init() from x86 boot
>
> arch/x86/include/asm/unwind.h | 2 -
> arch/x86/kernel/setup.c | 2 -
> arch/x86/kernel/unwind_orc.c | 51 ----------------------
> scripts/sorttable.h | 99 ++++++++++++++++++++++++++++++++++++++++---
> 4 files changed, 92 insertions(+), 62 deletions(-)

I tested this (rebased on tip/master), it seems to break ORC
completely... e.g. /proc/self/stack is empty.

--
Josh