Messages in this thread | | | Date | Thu, 28 Jul 2011 21:42:15 -0400 | From | Steven Rostedt <> | Subject | [PATCH 0/5] [GIT PULL][v3.2] x86: Consolidate 32 and 64 bit thread_info |
| |
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: a9db5af270460d73139d83e39d1dabc9c475a821
Steven Rostedt (5): x86: Do not differentiate between x86_64 and i386 with init_per_cpu 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/percpu.h | 4 +- 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 +- 9 files changed, 191 insertions(+), 143 deletions(-)
| |