Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area
- Date: Thu, 19 Jun 2008 15:23:47 -0700
- From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
- Subject: Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area
Mike Travis wrote:
@@ -132,6 +133,12 @@ ident_complete: #ifdef CONFIG_SMP addq %rbp, trampoline_level4_pgt + 0(%rip) addq %rbp, trampoline_level4_pgt + (511*8)(%rip) + + /* + * Fix up per_cpu__gdt_page offset when basing percpu + * variables at zero. This is only needed for the boot cpu. + */ + addq $__per_cpu_load, early_gdt_descr_base
This needs to be rip-relative. An absolute reference here will fail because you're still running in physical addresses.
J -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 0/4] percpu: Optimize percpu accesses
- From: Mike Travis
- [PATCH 3/4] x86_64: Fold pda into per cpu area
- From: Mike Travis
- [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area
- From: Ingo Molnar
- Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area
- From: Mike Travis
- Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area
- From: Jeremy Fitzhardinge
- Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area
- From: Mike Travis
- Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area
- From: Jeremy Fitzhardinge
- Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area
- From: Jeremy Fitzhardinge
- Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area
- From: Mike Travis
- [PATCH 0/4] percpu: Optimize percpu accesses
- Prev by Date: Re: [BUGFIX][PATCH 3/3] configfs: Fix failing symlink() making rmdir() fail
- Next by Date: [PATCH] USB: debug port converter does not accept more than 8 byte packets
- Previous by thread: Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area
- Next by thread: Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area
- Index(es):