login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
December
»
30
Re: [PATCHSET] x86: unify x86_32 and 64 NUMA init paths, take#4
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: H. Peter Anvin
Subject:
Re: [PATCHSET] x86: unify x86_32 and 64 NUMA init paths, take#4
Date: Thursday, December 30, 2010 - 1:14 pm
On 12/30/2010 09:49 AM, Tejun Heo wrote:
quoted text
> > The only change from the last take[L] is that it's now based on > tip/x86/numa. Unfortunately, some of the collisions weren't trivial > and led to some ugliness. > > Commit c1c3443c ("x86, numa: Fake node-to-cpumask for NUMA emulation") > introduced hard dependency on x86_64 into numa_add/remove_cpu() when > CONFIG_NUMA_EMU is enabled. 0015 has been updated so that the 32/64 > bit common versions used when !CONFIG_NUMA_EMU are in numa.c while > CONFIG_NUMA_EMU variants are in numa_64.c. > > This is ugly but still better than before. IIUC, Shaohui's patchsets > is going to unify NUMA emulation across 32 and 64bit, which should > remove the above ugliness. I haven't looked through the patchset yet > but after skimming through the current NUMA_EMU code, here are some of > my thoughts, FWIW. > > * There's no reason for different NUMA config methods to construct > different data structures. They all, including 32bit, can build a > single set of data structures. > > * Then, unification of NUMA_EMU would naturally follow. There's no > reason to think about whether the underlying NUMA and proximity > information is provided by ACPI, AMD or whatever. It just needs to > manipulate the processed data. > > Let's _please_ head that way instead of adding more gluing codes and > hacks everywhere. It would be a bit more churn but I don't think > there's any other sustainable way. >
Agreed 100%. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. --
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:
[PATCHSET] x86: unify x86_32 and 64 NUMA init paths, take#4
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 01/16] x86: Kill unused static boot_cpu_logical_api ...
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 02/16] x86: Rename x86_32 MAX_APICID to MAX_LOCAL_APIC
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 03/16] x86: Make default_send_IPI_mask_sequence/all ...
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 04/16] x86: Replace cpu_2_logical_apicid[] with ear ...
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 05/16] x86: Always use x86_cpu_to_logical_apicid fo ...
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 06/16] x86: Kill apic->cpu_to_logical_apicid()
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 07/16] x86: Add apic->x86_32_early_logical_apicid()
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 08/16] x86: Implement the default x86_32_early_logi ...
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 09/16] x86: Implement x86_32_early_logical_apicid() ...
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 10/16] x86: Implement x86_32_early_logical_apicid() ...
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 11/16] x86: Implement x86_32_early_logical_apicid() ...
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 12/16] x86: Replace apic->apicid_to_node() with ->x ...
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 13/16] x86: Unify cpu/apicid <-> NUMA node mapping ...
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 14/16] x86: Unify CPU -> NUMA node mapping between ...
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 15/16] x86: Unify node_to_cpumask_map handling betw ...
, Tejun Heo
, (Thu Dec 30, 10:49 am)
[PATCH 16/16] x86: Unify NUMA initialization between 32 an ...
, Tejun Heo
, (Thu Dec 30, 10:49 am)
Re: [PATCHSET] x86: unify x86_32 and 64 NUMA init paths, t ...
, H. Peter Anvin
, (Thu Dec 30, 1:14 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom