函数逻辑报告 | 
Source Code:mm\swap.c | 
Create Date:2022-07-27 15:37:02 | 
| Last Modify:2022-05-23 13:40:24 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:lru_cache_add - add a page to a page list*@page: the page to be added to the LRU.* Queue the page for addition to the LRU via pagevec. The decision on whether* to add the page to the [in]active [file|anon] list is deferred until the* pagevec is drained
函数原型:void lru_cache_add(struct page *page)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct page * | page | 
| 445 | VM_BUG_ON_PAGE(PageActive(page) && PageUnevictable(page), page) | 
| 446 | VM_BUG_ON_PAGE(PageLRU(page), page) | 
| 447 | __lru_cache_add(page) | 
| 名称 | 描述 | 
|---|---|
| lru_cache_add_active_or_unevictable | lru_cache_add_active_or_unevictable*@page: the page to be added to LRU*@vma: vma in which page is mapped for determining reclaimability* Place @page on the active or unevictable LRU list, depending on its* evictability | 
| putback_lru_page | putback_lru_page - put previously isolated page onto appropriate LRU list*@page: page to be put back to appropriate lru list* Add previously isolated @page to appropriate LRU list.* Page may still be unevictable for other reasons. | 
| add_to_page_cache_lru | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |