diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2012-12-12 16:51:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-12 20:38:33 -0500 |
commit | 6715ddf94576ff39f5d1cda8d4c568d3b79e82ec (patch) | |
tree | 208f32528f28a4ee1d2cff6836830c900ff7f31f /Documentation/memory-hotplug.txt | |
parent | 4b0ef1fe8a626f0ba7f649764f979d0dc9eab86b (diff) |
hotplug: update nodemasks management
Update nodemasks management for N_MEMORY.
[lliubbo@gmail.com: fix build]
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Hillf Danton <dhillf@gmail.com>
Cc: Lin Feng <linfeng@cn.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/memory-hotplug.txt')
-rw-r--r-- | Documentation/memory-hotplug.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/memory-hotplug.txt b/Documentation/memory-hotplug.txt index c6f993d491b5..8e5eacbdcfa3 100644 --- a/Documentation/memory-hotplug.txt +++ b/Documentation/memory-hotplug.txt | |||
@@ -390,6 +390,7 @@ struct memory_notify { | |||
390 | unsigned long start_pfn; | 390 | unsigned long start_pfn; |
391 | unsigned long nr_pages; | 391 | unsigned long nr_pages; |
392 | int status_change_nid_normal; | 392 | int status_change_nid_normal; |
393 | int status_change_nid_high; | ||
393 | int status_change_nid; | 394 | int status_change_nid; |
394 | } | 395 | } |
395 | 396 | ||
@@ -397,7 +398,9 @@ start_pfn is start_pfn of online/offline memory. | |||
397 | nr_pages is # of pages of online/offline memory. | 398 | nr_pages is # of pages of online/offline memory. |
398 | status_change_nid_normal is set node id when N_NORMAL_MEMORY of nodemask | 399 | status_change_nid_normal is set node id when N_NORMAL_MEMORY of nodemask |
399 | is (will be) set/clear, if this is -1, then nodemask status is not changed. | 400 | is (will be) set/clear, if this is -1, then nodemask status is not changed. |
400 | status_change_nid is set node id when N_HIGH_MEMORY of nodemask is (will be) | 401 | status_change_nid_high is set node id when N_HIGH_MEMORY of nodemask |
402 | is (will be) set/clear, if this is -1, then nodemask status is not changed. | ||
403 | status_change_nid is set node id when N_MEMORY of nodemask is (will be) | ||
401 | set/clear. It means a new(memoryless) node gets new memory by online and a | 404 | set/clear. It means a new(memoryless) node gets new memory by online and a |
402 | node loses all memory. If this is -1, then nodemask status is not changed. | 405 | node loses all memory. If this is -1, then nodemask status is not changed. |
403 | If status_changed_nid* >= 0, callback should create/discard structures for the | 406 | If status_changed_nid* >= 0, callback should create/discard structures for the |