Function report |
Source Code:mm\vmscan.c |
Create Date:2022-07-28 14:18:13 |
| Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:solate_lru_page - tries to isolate a page from its LRU list*@page: page to isolate from its LRU list* Isolates a @page from an LRU list, clears PageLRU and adjusts the* vmstat statistic corresponding to whatever LRU list the page was on.
Proto:int isolate_lru_page(struct page *page)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page |
| 1765 | VM_BUG_ON_PAGE(!page_count(page), page) |
| 1766 | WARN_RATELIMIT(PageTail(page), "trying to isolate tail page") |
| 1769 | pgdat = page_pgdat(page) |
| 1773 | lruvec = mem_cgroup_page_lruvec(page, pgdat) |
| 1783 | Return ret |
| Name | Describe |
|---|---|
| check_and_migrate_cma_pages | |
| clear_page_mlock | LRU accounting for clear_page_mlock() |
| mlock_vma_page | Mark page as mlocked if not already.* If page on LRU, isolate and putback to move to unevictable list. |
| madvise_cold_or_pageout_pte_range | |
| migrate_page_add | |
| add_page_for_migration | Resolves the given address to a struct page, isolates it from the LRU and* puts it to the given pagelist |
| __collapse_huge_page_isolate | |
| mem_cgroup_move_charge_pte_range | |
| delete_from_lru_cache | XXX: It is possible that a page is isolated from LRU cache,* and then kept in swap cache or failed to remove from page cache.* The page count will stop it from being freed by unpoison.* Stress tests should be aware of this memory leak problem. |
| __soft_offline_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 |