diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-10-21 18:37:01 +0200 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-10-21 18:37:01 +0200 |
commit | 690a973f48b6ba2954465992c08e65059c8374fe (patch) | |
tree | b30a59496628592233944b3f4340cdfdf9d3d5de /init/main.c | |
parent | cdfce1f5714fec7b24715f569b2fee1607350a6d (diff) | |
download | linux-3.10-690a973f48b6ba2954465992c08e65059c8374fe.tar.gz linux-3.10-690a973f48b6ba2954465992c08e65059c8374fe.tar.bz2 linux-3.10-690a973f48b6ba2954465992c08e65059c8374fe.zip |
[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>
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index ee123243fb5..36f608a7cfb 100644 --- a/init/main.c +++ b/init/main.c @@ -503,6 +503,7 @@ asmlinkage void __init start_kernel(void) printk(KERN_NOTICE); printk(linux_banner); setup_arch(&command_line); + unwind_setup(); setup_per_cpu_areas(); smp_prepare_boot_cpu(); /* arch-specific boot-cpu hooks */ |