Re: [tip:x86/asm] x86/asm/entry/64: Remove unused thread_struct::usersp

From: Ingo Molnar
Date: Tue Mar 17 2015 - 03:13:28 EST



* Borislav Petkov <bp@xxxxxxxxx> wrote:

> On Mon, Mar 16, 2015 at 11:20:38PM +0100, Denys Vlasenko wrote:
> > What's your config?
>
> Attached.

Could you try just this patch (on top of broken tip:master):

diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index 66a1954439ea..997e6a1c288f 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -496,6 +496,7 @@ struct thread_struct {
#ifdef CONFIG_X86_32
unsigned long sysenter_cs;
#else
+ unsigned long usersp; /* Copy from PDA */
unsigned short es;
unsigned short ds;
unsigned short fsindex;

to see whether it's the changed values of old_rsp, or the change in
sizeof(thread_struct), that causes the regression?

Thanks,

Ingo
--
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/