login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
18
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe interface to support NUMA
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [author]
[view in full thread]
From: Aaron Durbin
Subject:
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe interface to support NUMA
Date: Thursday, November 18, 2010 - 9:59 am
On Wed, Nov 17, 2010 at 2:44 PM, David Rientjes <rientjes@google.com> wrote:
quoted text
> On Wed, 17 Nov 2010, Dave Hansen wrote: > >> > Then, export the amount of memory that is actually physically present in >> > the e820 but was truncated by mem= >> >> I _think_ that's already effectively done in /sys/firmware/memmap. >> > > Ok. > > It's a little complicated because we don't export each online node's > physical address range so you have to parse the dmesg to find what nodes > were allocated at boot and determine how much physically present memory > you have that's hidden but can be hotplugged using the probe files. > > Adding Aaron Durbin <adurbin@google.com> to the cc because he has a patch > that exports the physical address range of each node in their sysfs > directories.
Is this something that is needed upstream? I can post it if that is the case. Sorry, I don't have a lot of context w.r.t. this thread.
quoted text
> >> > and allow users to hot-add the memory >> > via the probe interface. Add a writeable 'node' file to offlined memory >> > section directories and allow it to be changed prior to online. >> >> That would work, in theory. But, in practice, we allocate the mem_map[] >> at probe time. So, we've already effectively picked a node at probe. >> That was done because the probe is equivalent to the hardware "add" >> event. Once the hardware where in the address space the memory is, it >> always also knows the node. >> >> But, I guess it also wouldn't be horrible if we just hot-removed and >> hot-added an offline section if someone did write to a node file like >> you're suggesting. It might actually exercise some interesting code >> paths. >> > > Since the pages are offline you should be able to modify the memmap when > the 'node' file is written and use populate_memnodemap() since that file > is only writeable in an offline state. >
--
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:
[0/8,v3] NUMA Hotplug Emulator - Introduction & Feedbacks
, shaohui.zheng
, (Tue Nov 16, 7:07 pm)
[1/8,v3] NUMA Hotplug Emulator: add function to hide memor ...
, shaohui.zheng
, (Tue Nov 16, 7:08 pm)
[2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA hot ...
, shaohui.zheng
, (Tue Nov 16, 7:08 pm)
[3/8,v3] NUMA Hotplug Emulator: Userland interface to hotp ...
, shaohui.zheng
, (Tue Nov 16, 7:08 pm)
[4/8,v3] NUMA Hotplug Emulator: Abstract cpu register func ...
, shaohui.zheng
, (Tue Nov 16, 7:08 pm)
[5/8,v3] NUMA Hotplug Emulator: support cpu probe/release ...
, shaohui.zheng
, (Tue Nov 16, 7:08 pm)
[6/8,v3] NUMA Hotplug Emulator: Fake CPU socket with logic ...
, shaohui.zheng
, (Tue Nov 16, 7:08 pm)
[7/8,v3] NUMA Hotplug Emulator: extend memory probe interf ...
, shaohui.zheng
, (Tue Nov 16, 7:08 pm)
[8/8,v3] NUMA Hotplug Emulator: documentation
, shaohui.zheng
, (Tue Nov 16, 7:08 pm)
Re: [0/8,v3] NUMA Hotplug Emulator - Introduction & Feedbacks
, Paul Mundt
, (Tue Nov 16, 10:22 pm)
Re: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA ...
, Shaohui Zheng
, (Wed Nov 17, 12:51 am)
Re: [1/8,v3] NUMA Hotplug Emulator: add function to hide m ...
, David Rientjes
, (Wed Nov 17, 1:16 am)
Re: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA ...
, David Rientjes
, (Wed Nov 17, 1:16 am)
Re: [3/8,v3] NUMA Hotplug Emulator: Userland interface to ...
, David Rientjes
, (Wed Nov 17, 1:16 am)
Re: [0/8,v3] NUMA Hotplug Emulator - Introduction & Feedbacks
, Yinghai Lu
, (Wed Nov 17, 2:26 am)
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe in ...
, Dave Hansen
, (Wed Nov 17, 11:50 am)
Re: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA ...
, David Rientjes
, (Wed Nov 17, 2:10 pm)
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe in ...
, David Rientjes
, (Wed Nov 17, 2:18 pm)
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe in ...
, Dave Hansen
, (Wed Nov 17, 2:55 pm)
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe in ...
, David Rientjes
, (Wed Nov 17, 3:44 pm)
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe in ...
, Dave Hansen
, (Wed Nov 17, 4:00 pm)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation
, Randy Dunlap
, (Wed Nov 17, 4:06 pm)
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe in ...
, David Rientjes
, (Wed Nov 17, 4:17 pm)
Re: [0/8,v3] NUMA Hotplug Emulator - Introduction & Feedbacks
, Shaohui Zheng
, (Wed Nov 17, 7:03 pm)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation
, Shaohui Zheng
, (Wed Nov 17, 7:31 pm)
Re: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA ...
, Shaohui Zheng
, (Wed Nov 17, 9:14 pm)
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe in ...
, Shaohui Zheng
, (Wed Nov 17, 9:36 pm)
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe in ...
, Shaohui Zheng
, (Wed Nov 17, 9:48 pm)
Re: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA ...
, Shaohui Zheng
, (Wed Nov 17, 10:27 pm)
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe in ...
, Paul Mundt
, (Wed Nov 17, 11:24 pm)
Re: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA ...
, Paul Mundt
, (Wed Nov 17, 11:27 pm)
Re: [1/8,v3] NUMA Hotplug Emulator: add function to hide m ...
, Shaohui Zheng
, (Thu Nov 18, 2:20 am)
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe in ...
, Aaron Durbin
, (Thu Nov 18, 9:59 am)
Re: [1/8,v3] NUMA Hotplug Emulator: add function to hide m ...
, David Rientjes
, (Thu Nov 18, 2:16 pm)
Re: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA ...
, David Rientjes
, (Thu Nov 18, 2:19 pm)
Re: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA ...
, David Rientjes
, (Thu Nov 18, 2:24 pm)
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe in ...
, David Rientjes
, (Thu Nov 18, 2:28 pm)
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe in ...
, David Rientjes
, (Thu Nov 18, 2:31 pm)
Re: [1/8,v3] NUMA Hotplug Emulator: add function to hide m ...
, Shaohui Zheng
, (Thu Nov 18, 5:12 pm)
Re: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA ...
, Shaohui Zheng
, (Thu Nov 18, 5:32 pm)
Re: [0/8,v3] NUMA Hotplug Emulator - Introduction & Feedbacks
, Shaohui Zheng
, (Thu Nov 18, 10:54 pm)
Re: [7/8,v3] NUMA Hotplug Emulator: extend memory probe in ...
, Dave Hansen
, (Fri Nov 19, 9:36 am)
Re: [1/8,v3] NUMA Hotplug Emulator: add function to hide m ...
, David Rientjes
, (Sat Nov 20, 5:45 pm)
Re: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA ...
, David Rientjes
, (Sat Nov 20, 5:48 pm)
[patch 1/2] x86: add numa=possible command line option
, David Rientjes
, (Sat Nov 20, 7:28 pm)
[patch 2/2] mm: add node hotplug emulation
, David Rientjes
, (Sat Nov 20, 7:28 pm)
Re: [1/8,v3] NUMA Hotplug Emulator: add function to hide m ...
, Américo Wang
, (Sun Nov 21, 7:00 am)
Re: [patch 1/2] x86: add numa=possible command line option
, Américo Wang
, (Sun Nov 21, 7:26 am)
Re: [5/8,v3] NUMA Hotplug Emulator: support cpu probe/rele ...
, Américo Wang
, (Sun Nov 21, 7:45 am)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation
, Américo Wang
, (Sun Nov 21, 8:03 am)
RE: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA ...
, Li, Haicheng
, (Sun Nov 21, 8:14 am)
RE: [8/8,v3] NUMA Hotplug Emulator: documentation
, Li, Haicheng
, (Sun Nov 21, 8:16 am)
Re: [patch 2/2] mm: add node hotplug emulation
, Greg KH
, (Sun Nov 21, 10:34 am)
Re: [1/8,v3] NUMA Hotplug Emulator: add function to hide m ...
, David Rientjes
, (Sun Nov 21, 2:33 pm)
RE: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA ...
, David Rientjes
, (Sun Nov 21, 2:42 pm)
Re: [patch 1/2] x86: add numa=possible command line option
, David Rientjes
, (Sun Nov 21, 2:46 pm)
Re: [patch 2/2] mm: add node hotplug emulation
, David Rientjes
, (Sun Nov 21, 2:48 pm)
[patch 2/2 v2] mm: add node hotplug emulation
, David Rientjes
, (Sun Nov 21, 4:08 pm)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation
, Shaohui Zheng
, (Sun Nov 21, 4:33 pm)
Re: [5/8,v3] NUMA Hotplug Emulator: support cpu probe/rele ...
, Shaohui Zheng
, (Sun Nov 21, 5:01 pm)
Re: [patch 2/2 v2] mm: add node hotplug emulation
, Greg KH
, (Sun Nov 21, 5:56 pm)
Re: [patch 1/2] x86: add numa=possible command line option
, Américo Wang
, (Mon Nov 22, 8:43 am)
Re: [5/8,v3] NUMA Hotplug Emulator: support cpu probe/rele ...
, Américo Wang
, (Mon Nov 22, 8:51 am)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation
, Américo Wang
, (Mon Nov 22, 9:04 am)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation
, Shaohui Zheng
, (Mon Nov 22, 4:23 pm)
Re: [5/8,v3] NUMA Hotplug Emulator: support cpu probe/rele ...
, Shaohui Zheng
, (Mon Nov 22, 4:29 pm)
Re: [patch 2/2 v2] mm: add node hotplug emulation
, David Rientjes
, (Sat Nov 27, 6:52 pm)
Re: [patch 2/2 v2] mm: add node hotplug emulation
, Greg KH
, (Sat Nov 27, 10:17 pm)
Re: [patch 2/2 v2] mm: add node hotplug emulation
, David Rientjes
, (Mon Nov 29, 5:04 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Rafael J. Wysocki
[Bug #11287] Regression in 2.6.27-rc2 in acpi_processor_init()
Ingo Molnar
Re: [GIT PULL] time.c - respin
Ingo Molnar
Re: [PATCH] x86: silence section mismatch warning - uv_cpu_init
Rafael J. Wysocki
[Bug #11380] lockdep warning: cpu_add_remove_lock at:cpu_maps_update_begin+0x14/0x16
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Junio C Hamano
Re: git-svnimport
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Stephen J. Bevan
GRE over IPsec
Christophe Rioux
Implementation example of snmp
Nick Holland
Re: booting openbsd on eee without cd-rom
Guido Tschakert
Re: what exactly is enc0?
Darrin Chandler
Re: strange output on openbsd C code
Colocation donated by:
Syndicate