mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-19 04:14:49 +08:00
mm: export split_page()
This symbol will be used in the Hyper-V balloon driver to support 2M allocations. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Acked-by: Michal Hocko <mhocko@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
647965a268
commit
5853ff23c2
@ -1397,6 +1397,7 @@ void split_page(struct page *page, unsigned int order)
|
|||||||
for (i = 1; i < (1 << order); i++)
|
for (i = 1; i < (1 << order); i++)
|
||||||
set_page_refcounted(page + i);
|
set_page_refcounted(page + i);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(split_page);
|
||||||
|
|
||||||
static int __isolate_free_page(struct page *page, unsigned int order)
|
static int __isolate_free_page(struct page *page, unsigned int order)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user