Messages in this thread Patch in this message |  | | From | lantianyu1986@gmail ... | Subject | [RFC PATCH V2 2/10] mm: expose is_mem_section_removable() symbol | Date | Tue, 7 Jan 2020 21:09:42 +0800 |
| |
From: Tianyu Lan <Tianyu.Lan@microsoft.com>
Hyper-V balloon driver will use is_mem_section_removable() to check whether memory block is removable or not when receive memory hot remove msg. Expose it.
Signed-off-by: Tianyu Lan <Tianyu.Lan@microsoft.com> --- mm/memory_hotplug.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index d04369e6d3cc..a4ebfc5c48b3 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -1179,6 +1179,7 @@ bool is_mem_section_removable(unsigned long start_pfn, unsigned long nr_pages) /* All pageblocks in the memory block are likely to be hot-removable */ return true; } +EXPORT_SYMBOL_GPL(is_mem_section_removable); /* * Confirm all pages in a range [start, end) belong to the same zone. -- 2.14.5
|  |