diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-15 16:01:14 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-15 16:01:14 -0500 |
commit | 1b59be2a6cdcb5a12e18d8315c07c94a624de48f (patch) | |
tree | 5cf48d9f94d85e9b1f984610b6868ad100ca1916 /include | |
parent | f9ee7f60d6f37ae0184812b4c59b3869f875768b (diff) | |
parent | 2ed1c5257b5d669df2a64bd53e61dc19c7d936cd (diff) |
Merge branch 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6
* 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
Update Pekka's email address in MAINTAINERS
mm/slab.c: make local symbols static
slub: Avoid use of slub_lock in show_slab_objects()
memory hotplug: one more lock on memory hotplug
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/memory_hotplug.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h index 24376fe7ee68..8122018d3000 100644 --- a/include/linux/memory_hotplug.h +++ b/include/linux/memory_hotplug.h | |||
@@ -165,6 +165,12 @@ extern void register_page_bootmem_info_node(struct pglist_data *pgdat); | |||
165 | extern void put_page_bootmem(struct page *page); | 165 | extern void put_page_bootmem(struct page *page); |
166 | #endif | 166 | #endif |
167 | 167 | ||
168 | /* | ||
169 | * Lock for memory hotplug guarantees 1) all callbacks for memory hotplug | ||
170 | * notifier will be called under this. 2) offline/online/add/remove memory | ||
171 | * will not run simultaneously. | ||
172 | */ | ||
173 | |||
168 | void lock_memory_hotplug(void); | 174 | void lock_memory_hotplug(void); |
169 | void unlock_memory_hotplug(void); | 175 | void unlock_memory_hotplug(void); |
170 | 176 | ||