[PATCH 0/52] First attempt at smp integration

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: <akpm@...>, <glommer@...>, <mingo@...>, <tglx@...>
Date: Monday, March 3, 2008 - 1:12 pm

Hi,

This series of patches does a first attempt at smp integration (I call it first, 
although I don't believe it's too far away from a real one). The series comprises 52 patches,
and the full diffstat says in the end:

	 34 files changed, 1858 insertions(+), 2344 deletions(-)

smp_32.c and smp_64.c are completely gone. smp.h and smpboot_{32,64}.c are not, although
substantially reduced. I know that ideally, no leftovers are wanted, but the series were
already big enough (I tried to split the patches as much as I could), so I considered this 
a good cutting point. If this is all agreed upon and merged, I'll start looking at the other 
bits that are left.

All patches are tested is various random x86 subarchitectures, and all of them works.
The result also boots fine in mine x86_64 and i386 boxes.

Comments are welcome.

 arch/x86/kernel/Makefile               |   11 
 arch/x86/kernel/apic_32.c              |    7 
 arch/x86/kernel/smp_32.c               |  730 ---------------------------------
 arch/x86/kernel/smp_64.c               |  674 +++---------------------------
 arch/x86/kernel/smpboot.c              |  372 ++++++++++++++++
 arch/x86/kernel/smpboot_32.c           |  363 ----------------
 arch/x86/kernel/smpboot_64.c           |  432 -------------------
 arch/x86/mach-voyager/voyager_smp.c    |    3 
 b/arch/x86/kernel/Makefile             |    2 
 b/arch/x86/kernel/apic_32.c            |   74 +--
 b/arch/x86/kernel/ipi.c                |  178 ++++++++
 b/arch/x86/kernel/mpparse_32.c         |    7 
 b/arch/x86/kernel/mpparse_64.c         |    7 
 b/arch/x86/kernel/smp.c                |  253 +++++++++++
 b/arch/x86/kernel/smp_32.c             |    2 
 b/arch/x86/kernel/smp_64.c             |    2 
 b/arch/x86/kernel/smpboot.c            |   53 ++
 b/arch/x86/kernel/smpboot_32.c         |    6 
 b/arch/x86/kernel/smpboot_64.c         |    2 
 b/arch/x86/kernel/smpcommon.c          |   83 +++
 b/arch/x86/kernel/smpcommon_32.c       |   82 ---
 b/arch/x86/kernel/tlb_32.c             |  243 ++++++++++
 b/arch/x86/kernel/tlb_64.c             |  274 ++++++++++++
 b/arch/x86/mach-voyager/voyager_smp.c  |    9 
 b/include/asm-x86/processor.h          |   10 
 b/include/asm-x86/smp.h                |    8 
 b/include/asm-x86/smp_32.h             |    4 
 b/include/asm-x86/smp_64.h             |    5 
 include/asm-x86/processor.h            |    5 
 include/asm-x86/smp.h                  |   99 ++++
 include/asm-x86/smp_32.h               |   86 ---
 include/asm-x86/smp_64.h               |   21 
 linux-2.6-x86/arch/x86/kernel/Makefile |    4 
 linux-2.6-x86/arch/x86/kernel/smp.c    |   91 ++++
 34 files changed, 1858 insertions(+), 2344 deletions(-)


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/52] First attempt at smp integration, Glauber Costa, (Mon Mar 3, 1:12 pm)
Re: [PATCH 0/52] First attempt at smp integration, Andi Kleen, (Mon Mar 3, 1:23 pm)
Re: [PATCH 0/52] First attempt at smp integration, Glauber Costa, (Mon Mar 3, 1:38 pm)
Re: [PATCH 0/52] First attempt at smp integration, Ingo Molnar, (Mon Mar 3, 1:22 pm)
Re: [PATCH 0/52] First attempt at smp integration, Glauber Costa, (Mon Mar 3, 1:35 pm)
[PATCH 01/52] commonize smp.h, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 02/52] merge extern function definitions, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 03/52] merge extern variables definitions, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 04/52] define smp_ops in common header, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 06/52] merge smp_send_reschedule, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 07/52] unify smp_call_function_mask, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 08/52] unify __cpu_up., Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 09/52] unify prepare_boot_cpu, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 10/52] unify smp_prepare_cpus, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 11/52] unify smp_cpus_done, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 12/52] move disabled_cpus to common header, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 13/52] use disabled_cpus in i386, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 14/52] move prefill_possible_map to common file, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 15/52] remove export for smp_call_function_mask., Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 16/52] remove irqs disabled warning., Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 17/52] create smpcommon.c, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 18/52] provide __smp_call_function, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 20/52] provide hlt_works function., Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 23/52] unify smp_send_stop, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 24/52] create smp.c, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 25/52] create ipi.c, Glauber Costa, (Mon Mar 3, 1:12 pm)
[PATCH 26/52] create tlb files, Glauber Costa, (Mon Mar 3, 1:12 pm)