Skip to content
Snippets Groups Projects
Commit 2f25dcd2 authored by Shile Zhang's avatar Shile Zhang Committed by Yang Yingliang
Browse files

scripts/sorttable: Implement build-time ORC unwind table sorting


mainline inclusion
from mainline-v5.6-rc1
commit 57fa1899
category: feature
bugzilla: NA
CVE: NA

-------------------------------------------------

The ORC unwinder has two tables: .orc_unwind_ip and .orc_unwind, which
need to be sorted for binary search. Previously this sorting was done
during bootup.

Sort them at build time to speed up booting.

Add the ORC tables sorting in a parallel build process to speed up the build.

[ mingo: Rewrote the changelog and fixed some comments. ]

Suggested-by: default avatarAndy Lutomirski <luto@amacapital.net>
Suggested-by: default avatarPeter Zijlstra <peterz@infradead.org>
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarShile Zhang <shile.zhang@linux.alibaba.com>
Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: linux-kbuild@vger.kernel.org
Link: https://lkml.kernel.org/r/20191204004633.88660-7-shile.zhang@linux.alibaba.com


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Conflicts:
  scripts/Makefile
[yyl: use orc_types.h in tools/objtool/arch/x86/include]
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: default avatarJian Cheng <cj.chengjian@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent a3c5259d
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment