Function report |
Source Code:mm\memory-failure.c |
Create Date:2022-07-28 16:19:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:soft_offline_in_use_page
Proto:static int soft_offline_in_use_page(struct page *page, int flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
int | flags |
1812 | hpage = compound_head(page) |
1816 | If Not PageAnon(page) || Value for the false possibility is greater at compile time(split_huge_page(page)) Then |
1818 | If Not PageAnon(page) Then pr_info("soft offline: %#lx: non anonymous thp\n", page_to_pfn(page)) |
1820 | Else pr_info("soft offline: %#lx: thp split failed\n", page_to_pfn(page)) |
1822 | put_hwpoison_page(page) |
1823 | Return -EBUSY |
1835 | mt = get_pageblock_migratetype(page) |
1839 | Else ret = __soft_offline_page(page, flags) |
1841 | set_pageblock_migratetype(page, mt) |
1842 | Return ret |
Name | Describe |
---|---|
soft_offline_page | soft_offline_page - Soft offline a page.*@pfn: pfn to soft-offline*@flags: flags. Same as memory_failure().* Returns 0 on success, otherwise negated errno.* Soft offline a page, by migration or invalidation,* without killing anything |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |