LWN.net Logo

Advertisement

E-Commerce & credit card processing - the Open Source way!

Advertise here

First attempt at smp integration

From:  Glauber Costa <gcosta@redhat.com>
To:  linux-kernel@vger.kernel.org
Subject:  [PATCH 0/52] First attempt at smp integration
Date:  Mon, 3 Mar 2008 14:12:28 -0300
Message-ID:  <1204564400-17636-1-git-send-email-gcosta@redhat.com>
Cc:  akpm@linux-foundation.org, glommer@gmail.com, mingo@elte.hu, tglx@linutronix.de
Archive-link:  Article, Thread

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(-)



Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds