]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mmzone: note that node_size_lock should be manipulated via pgdat_resize_lock()
authorCody P Schafer <cody@linux.vnet.ibm.com>
Fri, 7 Jun 2013 00:07:45 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:42:10 +0000 (15:42 +1000)
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mmzone.h

index 9ec7cffcae2188fe65873ea0d976ca955aabef8b..e511f9429f1e3813a15864256c5813c27524a107 100644 (file)
@@ -733,6 +733,9 @@ typedef struct pglist_data {
         * or node_spanned_pages stay constant.  Holding this will also
         * 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
         */
        spinlock_t node_size_lock;