[PATCH 0/4 v2] [GIT PULL][v3.2] x86: Consolidate 32 and 64 bit thread_info
From: Steven Rostedt
Date: Fri Aug 05 2011 - 21:24:09 EST
[
Repost with removing the first patch:
"x86: Do not differentiate between x86_64 and i386 with init_per_cpu"
as requested by Brian Gerst
]
Thomas, Ingo, and Peter(s),
On IRC, Peter Zijlstra mentioned to me the difference between
32bit and 64bit x86 on how thread_info is handled with interrupts.
I mentioned that they should be more the same, and Peter agreed.
I decided to do so, and ended up with the following patches.
I marked this for v3.2 as it should be tested a bit before going into
mainline. I've ran several configs on it, but more testing should be done.
Some of the patches are clean ups, but the main ones are patch 3 and 4
that do the work to convert 32bit of thread_info to be more like
the 64bit.
-- Steve
Please pull the latest tip/x86/thread_info tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
tip/x86/thread_info
Head SHA1: 326c03f828beaff087aa6bd9e741cb4d4915a685
Steven Rostedt (4):
x86: Nuke the supervisor_stack field in i386 thread_info
x86: Remove previous_esp from i386 thread_info structure
x86: Keep thread_info on thread stack in x86_32
x86: Clean up dumpstack_64.c code
----
arch/x86/include/asm/processor.h | 9 +++
arch/x86/include/asm/thread_info.h | 56 +++--------------
arch/x86/kernel/cpu/common.c | 8 +-
arch/x86/kernel/dumpstack_32.c | 44 ++++++++++++-
arch/x86/kernel/dumpstack_64.c | 121 +++++++++++++++++++++++++-----------
arch/x86/kernel/irq_32.c | 86 +++++++++++---------------
arch/x86/kernel/process_32.c | 4 +
arch/x86/kernel/smpboot.c | 2 +-
8 files changed, 189 insertions(+), 141 deletions(-)
--
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/