Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758017Ab3EAXca (ORCPT ); Wed, 1 May 2013 19:32:30 -0400 Received: from e9.ny.us.ibm.com ([32.97.182.139]:38992 "EHLO e9.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752306Ab3EAXcN (ORCPT ); Wed, 1 May 2013 19:32:13 -0400 From: Cody P Schafer To: Andrew Morton Cc: David Rientjes , Linux MM , LKML , Cody P Schafer Subject: [PATCH v2 2/4] mmzone: note that node_size_lock should be manipulated via pgdat_resize_lock() Date: Wed, 1 May 2013 16:31:59 -0700 Message-Id: <1367451121-22725-3-git-send-email-cody@linux.vnet.ibm.com> X-Mailer: git-send-email 1.8.2.2 In-Reply-To: <1367451121-22725-1-git-send-email-cody@linux.vnet.ibm.com> References: <1367451121-22725-1-git-send-email-cody@linux.vnet.ibm.com> X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13050123-7182-0000-0000-0000067F41E3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 939 Lines: 27 Signed-off-by: Cody P Schafer --- include/linux/mmzone.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index fc859a0c..41557be 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -716,6 +716,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; -- 1.8.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/