Commit 114d4b79 authored by Cody P Schafer's avatar Cody P Schafer Committed by Linus Torvalds

mmzone: note that node_size_lock should be manipulated via pgdat_resize_lock()

Signed-off-by: default avatarCody P Schafer <cody@linux.vnet.ibm.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 72c3b51b
...@@ -733,6 +733,9 @@ typedef struct pglist_data { ...@@ -733,6 +733,9 @@ typedef struct pglist_data {
* or node_spanned_pages stay constant. Holding this will also * or node_spanned_pages stay constant. Holding this will also
* guarantee that any pfn_valid() stays that way. * guarantee that any pfn_valid() stays that way.
* *
* pgdat_resize_lock() and pgdat_resize_unlock() are provided to
* manipulate node_size_lock without checking for CONFIG_MEMORY_HOTPLUG.
*
* Nests above zone->lock and zone->span_seqlock * Nests above zone->lock and zone->span_seqlock
*/ */
spinlock_t node_size_lock; spinlock_t node_size_lock;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment