Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:08:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Set PG_hwpoison flag if a given page is confirmed to be a free page. This* test is performed under the zone lock to prevent a race against page* allocation.
Proto:bool set_hwpoison_free_buddy_page(struct page *page)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
8729 | pfn = page_to_pfn(page) |
8732 | bool hwpoisoned = false |
8734 | spin_lock_irqsave( & Primarily protects free_area , flags) |
8739 | If Not TestSetPageHWPoison(page) Then hwpoisoned = true |
8741 | Break |
8746 | Return hwpoisoned |
Name | Describe |
---|---|
unmap_and_move | Obtain the lock on page, remove all ptes and migrate the page* to the newly allocated page in newpage. |
soft_offline_huge_page | |
soft_offline_free_page |
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 |