函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memcontrol.c Create Date:2022-07-27 17:45:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:unlock_page_lru

函数原型:static void unlock_page_lru(struct page *page, int isolated)

返回类型:void

参数:

类型参数名称
struct page *page
intisolated
2593  pgdat等于page_pgdat(page)
2595  如果isolated
2598  lruvec等于mem_cgroup_page_lruvec - return lruvec for isolating/putting an LRU page*@page: the page*@pgdat: pgdat of the page* This function is only safe when following the LRU page isolation* and putback protocol: the LRU lock must be held, and the page must
2599  VM_BUG_ON_PAGE(PageLRU(page), page)
2600  SetPageLRU(page)
2601  add_page_to_lru_list(page, lruvec, page_lru - which LRU list should a page be on?*@page: the page to test* Returns the LRU list a page should be on, as an index* into the array of LRU lists.)
2603  spin_unlock_irq( & Write-intensive fields used by page reclaim )
调用者
名称描述
commit_charge