projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c3b51
)
mmzone: note that node_size_lock should be manipulated via pgdat_resize_lock()
author
Cody P Schafer
<
[email protected]
>
Wed, 3 Jul 2013 22:02:09 +0000
(15:02 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 3 Jul 2013 23:07:29 +0000
(16:07 -0700)
Signed-off-by: Cody P Schafer <
[email protected]
>
Cc: David Rientjes <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/mmzone.h
patch
|
blob
|
history
diff --git
a/include/linux/mmzone.h
b/include/linux/mmzone.h
index 9ec7cffcae2188fe65873ea0d976ca955aabef8b..e511f9429f1e3813a15864256c5813c27524a107 100644
(file)
--- 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;