From: Cody P Schafer Date: Wed, 3 Jul 2013 22:02:09 +0000 (-0700) Subject: mmzone: note that node_size_lock should be manipulated via pgdat_resize_lock() X-Git-Tag: v3.11-rc1~99^2~375 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=114d4b79f7e561fd76fb98eba79e18df7cdd60f0;p=platform%2Fkernel%2Flinux-exynos.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 Signed-off-by: Linus Torvalds --- diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 9ec7cff..e511f94 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;