login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
April
»
11
Re: [PATCH 0/4] hard_smp_processor_id overhaul (v.2)
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Simon Horman <horms@...>
To: Fernando Luis <fernando@...>
Cc: <akpm@...>, <linux-kernel@...>, <ak@...>, <benh@...>, <davem@...>, <ebiederm@...>, <heiko.carstens@...>, <ink@...>, <jdike@...>, <paulus@...>, <rth@...>, <schwidefsky@...>, <takata@...>, <tony.luck@...>, <vgoyal@...>
Subject:
Re: [PATCH 0/4] hard_smp_processor_id overhaul (v.2)
Date: Wednesday, April 11, 2007 - 2:33 am
On Wed, Apr 04, 2007 at 05:51:07PM +0900, Fernando Luis Vázquez Cao wrote:
quoted text
> This new version (v.2) fixes generic arch i386 up build, has (hopefully) > clearer explanations, and does not break git bisect searches. > --- > With the advent of kdump, the assumption that the boot CPU when running > an UP kernel is always the CPU with a particular hardware ID (often 0) > (usually referred to as BSP on some architectures) is not valid anymore. > The reason being that the dump capture kernel boots on the crashed CPU > (the CPU that invoked crash_kexec), which may be or may not be that > particular CPU. > > As a consequence, the hardcoding of hard_smp_processor_id() to 0 on UP > systems (see "linux/smp.h") is not correct. > > This patch-set does the following: > > 1- Remove hardcoding of hard_smp_processor_id on UP systems (patch 1). > > 2- Move definition of hard_smp_processor_id for the UP case to > architecture specific code ("asm/smp.h") where it belongs, so that each > architecture can provide its own implementation (patch 1). > > 3- Ask the hardware when possible to obtain the hardware processor id on > i386 (patch 2), x86_64 (patch 3), and ia64 (patch 4), independently of > whether CONFIG_SMP is set or not. > > I guess that something similar could be done for the rest of the > architectures, but since I am not an expert in all of them I am just > moving the definition of hard_smp_processor_id to "asm/smp.h" for those. > Of course, help from the respective maintainers to fill this gap would > be greatly appreciated. > > The patches have been tested on i386, x86_64, and ia64.
Sorry for the delay in getting back to you, I've been on the road. All these patches seem fine to me. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 0/4] hard_smp_processor_id overhaul (v.2)
, Fernando Luis
, (Wed Apr 4, 4:51 am)
Re: [PATCH 0/4] hard_smp_processor_id overhaul (v.2)
, Simon Horman
, (Wed Apr 11, 2:33 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Justin C. Sherrill
Re: pkgsrc bulk build and tiff
Jeremy Allison
Re: [RFC] Heads up on sys_fallocate()
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
netbsd-tech-kern
:
Matt Thomas
Re: Add a MAP_ALIGNED flag for mmap(2).
Vsevolod Stakhov
Unicode support in iso9660.
Jaromir Dolecek
Re: Speeding up fork/wait path
matthew green
re: merge of freebsd eventhandler
git
:
dragonflybsd-user
:
Petr Janda
KDE and OpenSSL = Broken
sam
Re: Loader not found
Erick Perez
Re: dragonfly pdf documentation
Michel Talon
Re: Compatability with FreeBSD Ports [debian package tools]
Colocation donated by:
Who's online
There are currently
2 users
and
630 guests
online.
Online users
mikejack
donkey99
Syndicate