| Function report | 
| Source Code: mm\memory-failure.c | Create Date:2022-07-28 16:18:24 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:When a unknown page type is encountered drain as many buffers as possible* in the hope to turn the page into a LRU or free page, which we can handle.
Proto:void shake_page(struct page *p, int access)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct page * | p | |
| int | access | 
| 243 | If PageHuge() only returns true for hugetlbfs pages, but not for normal or* transparent huge pages. See the PageTransHuge() documentation for more* details. Then Return | 
| 247 | lru_add_drain_all() | 
| 251 | If PageLRU(p) || is_free_buddy_page(p) Then Return | 
| 259 | If access Then drop_slab_node(page_to_nid(p)) | 
| Name | Describe | 
|---|---|
| hwpoison_user_mappings | Do all that is necessary to remove user space mappings. Unmap* the pages and send SIGBUS to the processes if the data was dirty. | 
| memory_failure | memory_failure - Handle memory failure of a page.*@pfn: Page Number of the corrupted page*@flags: fine tune action taken* This function is called by the low level machine check code* of an architecture when it detects hardware memory corruption* of a page | 
| get_any_page | |
| hwpoison_inject | 
| 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 |