From: Cody P Schafer Date: Fri, 7 Jun 2013 00:07:45 +0000 (+1000) Subject: mmzone: note that node_size_lock should be manipulated via pgdat_resize_lock() X-Git-Tag: next-20130607~2^2~427 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=652718c438317be9e8ed8ef8b3d7b4217ac1bb37;p=karo-tx-linux.git mmzone: note that node_size_lock should be manipulated via pgdat_resize_lock() Signed-off-by: Cody P Schafer Cc: David Rientjes Signed-off-by: Andrew Morton --- diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 9ec7cffcae21..e511f9429f1e 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -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;