[PATCH] x86-64: Speed up dwarf2 unwinder
This changes the dwarf2 unwinder to do a binary search for CIEs instead of a linear work. The linker is unfortunately not able to build a proper lookup table at link time, instead it creates one at runtime as soon as the bootmem allocator is usable (so you'll continue using the linear lookup for the first [hopefully] few calls). The code should be ready to utilize a build-time created table once a fixed linker becomes available. Signed-off-by:Jan Beulich <jbeulich@novell.com> Signed-off-by:
Andi Kleen <ak@suse.de>
Showing
- Makefile 1 addition, 0 deletionsMakefile
- include/asm-generic/vmlinux.lds.h 16 additions, 0 deletionsinclude/asm-generic/vmlinux.lds.h
- include/linux/unwind.h 2 additions, 0 deletionsinclude/linux/unwind.h
- init/main.c 1 addition, 0 deletionsinit/main.c
- kernel/unwind.c 279 additions, 39 deletionskernel/unwind.c
Loading
Please register or sign in to comment