login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
31
Re: [PATCH][RFC] Add default CPU topology information
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Ingo Molnar <mingo@...>
To: Ben Hutchings <bhutchings@...>
Cc: <linux-kernel@...>, Andrew Morton <akpm@...>
Subject:
Re: [PATCH][RFC] Add default CPU topology information
Date: Monday, March 31, 2008 - 8:35 am
* Ben Hutchings <bhutchings@solarflare.com> wrote:
quoted text
> Not all architectures and configurations define CPU topology information. > This can result in an empty topology directory in sysfs, and requires > in-kernel users to protect all uses with #ifdef - see > <http://marc.info/?l=linux-netdev&m=120639033904472&w=2>. > > The documentation of CPU topology specifies what the defaults should be > if only partial information is available from the hardware. So we can > provide these defaults as a fallback. > > This patch: > > - Adds default definitions of the 4 topology macros to > include/asm-generic/topology.h. > - Changes include/asm-*/topology.h to include <asm-generic/topology.h> > unconditionally. > - Changes drivers/base/topology.c to use the topology macros unconditionally > and to cope with definitions that aren't lvalues. > - Updates documentation accordingly. > > Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
very nice - i suspect this would be a patch for -mm. Acked-by: Ingo Molnar <mingo@elte.hu> Ingo --
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][RFC] Add default CPU topology information
, Ben Hutchings
, (Mon Mar 31, 7:44 am)
Re: [PATCH][RFC] Add default CPU topology information
, Andrew Morton
, (Fri Apr 18, 3:10 am)
Re: [PATCH][RFC] Add default CPU topology information
, Ben Hutchings
, (Fri Apr 18, 8:24 am)
Re: [PATCH][RFC] Add default CPU topology information
, Andrew Morton
, (Fri Apr 18, 3:32 am)
Re: [PATCH][RFC] Add default CPU topology information
, Andrew Morton
, (Fri Apr 18, 2:45 am)
Re: [PATCH][RFC] Add default CPU topology information
, Ben Hutchings
, (Fri Apr 18, 8:10 am)
Re: [PATCH][RFC] Add default CPU topology information
, Andrew Morton
, (Tue Apr 15, 3:42 pm)
Re: [PATCH][RFC] Add default CPU topology information
, Ingo Molnar
, (Wed Apr 16, 8:51 am)
Re: [PATCH][RFC] Add default CPU topology information
, Andrew Morton
, (Wed Apr 16, 3:07 pm)
Re: [PATCH][RFC] Add default CPU topology information
, Ingo Molnar
, (Mon Mar 31, 8:35 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Andrew Morton
Re: 2.6.23-rc6-mm1
Luciano Rocha
usb hdd problems with 2.6.27.2
git
:
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Andrew Morton
Re: [BUG] New Kernel Bugs
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH take 2] pkt_sched: Protect gen estimators under est_lock.
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
541 guests
online.
Online users
strcmp
tweems66
Syndicate