Function report |
Source Code:mm\mempolicy.c |
Create Date:2022-07-28 15:31:39 |
| Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:migrate_page_add
Proto:static int migrate_page_add(struct page *page, struct list_head *pagelist, unsigned long flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| struct list_head * | pagelist | |
| unsigned long | flags |
| 989 | head = compound_head(page) |
| 993 | If flags & Move every page to conform to policy || page_mapcount(head) == 1 Then |
| 999 | Else if flags & Verify existing pages in the mapping Then |
| 1007 | Return -EIO |
| 1011 | Return 0 |
| Name | Describe |
|---|---|
| queue_pages_pmd | queue_pages_pmd() has four possible return values:* 0 - pages are placed on the right node or queued successfully |
| queue_pages_pte_range | Scan through pages checking if pages follow certain conditions,* and move them to the pagelist if they do |
| 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 |