RFC Speed booting by sorting ORC unwind tables at build time
Status from this message: The following commit has been merged into the core/objtool branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 RFC Latest7 patches 3 repliesApplied
- v5 RFC7 patches 2 repliesSuperseded
- v4 RFC7 patches 4 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 RFC | 7 patches | 14 replies | Superseded | |
| v2 RFC | 3 patches | 2 replies | Superseded | |
| v1 RFC | 4 patches | 7 replies | Superseded |
Changes in v6 from the cover letter
- fix compile error reported by kbuild test robot;
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | scripts/sortextable: Rewrite error/success handlingscripts/ scripts/ | +48 | 0 replies | |
| 2/7 | scripts/sortextable: kernel coding style formatingscripts/ scripts/ | +111 | 0 replies | |
| 3/7 | scripts/sortextable: Remove dead codescripts/ | +0 | 0 replies | |
| 4/7 | scripts/sortextable: refactor do_func() functionscripts/ scripts/ | +61 | 0 replies | |
| 5/7 | scripts/sorttable: rename sortextable to sorttablearch/ arch/ arch/ +13 more | +26 | 0 replies | |
| 6/7 | scripts/sorttable: Add ORC unwind tables sort concurrentlyscripts/ scripts/ scripts/ | +189 | 0 replies | |
| 7/7 | x86/unwind/orc: remove run-time ORC unwind tables sortarch/ scripts/ | +9 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Peter Zijlstra (Intel) |
|---|---|
| 1/7 | A-b |
| 2/7 | A-b |
| 3/7 | A-b |
| 4/7 | A-b |
| 5/7 | A-b |
| 6/7 | A-b |
| 7/7 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH v6 0/7] Speed booting by sorting ORC unwind tables at build time
Hi,
Sorry, update for compile error fix, reported by Intel's kbuild test robot. Any comments or suggestions are welcome!
Thanks!
Changelog:
==========v5->v6:
- fix compile error reported by kbuild test robot;
v4->v5:
- replace sort with qsort, suggested by Andy Lutomirski <[email protected]>;
- add error handling in link scripts;
- fixed some review findings;
https://lore.kernel.org/lkml/[email protected]/
v3->v4:
- Code refactored for Peter's review findings and suggestions.
https://lore.kernel.org/lkml/[email protected]/
v2->v3:
- Discard new added sortorctable tool and related Kconfig changes.
- Refactored sortextable, makes it more readable and extendable.
- Rename 'sortextable' to 'sorttable', for more kernel tables extend.
- Add ORC unwind tables sort into sorttable.
- Remove the runtime ORC tables sort.
https://lore.kernel.org/lkml/[email protected]/
v1->v2:
- Removed new added Kconfig and runtime sort code, advised by Josh Poimboeuf.
- Some minor refactoring.
https://lore.kernel.org/lkml/[email protected]/
v1:
- Added a new sortorctable tool to sort ORC unwind tables at build time, same as sortextable.
- Add a new Kconfigure to control if ORC unwind tables sort at build time.
https://lore.kernel.org/lkml/[email protected]/
Shile Zhang (7):
scripts/sortextable: Rewrite error/success handling scripts/sortextable: kernel coding style formating scripts/sortextable: Remove dead code scripts/sortextable: refactor do_func() function scripts/sorttable: rename sortextable to sorttable scripts/sorttable: Add ORC unwind tables sort concurrently x86/unwind/orc: remove run-time ORC unwind tables sort
arch/arc/Kconfig | 2 +-
arch/arm/Kconfig | 2 +-
arch/arm64/Kconfig | 2 +-
arch/microblaze/Kconfig | 2 +-
arch/mips/Kconfig | 2 +-
arch/parisc/Kconfig | 2 +-
arch/powerpc/Kconfig | 2 +-
arch/s390/Kconfig | 2 +-
arch/x86/Kconfig | 2 +-
arch/x86/kernel/unwind_orc.c | 8 +-
arch/xtensa/Kconfig | 2 +-
init/Kconfig | 2 +-
scripts/.gitignore | 2 +-
scripts/Makefile | 13 +-
scripts/link-vmlinux.sh | 13 +-
scripts/sortextable.h | 209 --------------
scripts/{sortextable.c => sorttable.c} | 305 +++++++++-----------
scripts/sorttable.h | 380 +++++++++++++++++++++++++
18 files changed, 557 insertions(+), 395 deletions(-)
delete mode 100644 scripts/sortextable.h
rename scripts/{sortextable.c => sorttable.c} (67%)
create mode 100644 scripts/sorttable.hSignature · 1 line
2.24.0.rc2