函数逻辑报告 |
Source Code:mm\vmscan.c |
Create Date:2022-07-27 15:42:08 |
| Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:int isolate_lru_page(struct page *page)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| 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 | 返回:ret |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |