函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swap.c Create Date:2022-07-27 15:36:44
Last Modify:2022-05-23 13:40:24 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This path almost never happens for VM activity - pages are normally* freed via pagevecs. But it gets used by networking.

函数原型:static void __page_cache_release(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
62  如果PageLRU(page)则
63  pgdat等于page_pgdat(page)
67  spin_lock_irqsave( & Write-intensive fields used by page reclaim , flags)
68  lruvec等于mem_cgroup_page_lruvec(page, pgdat)
69  VM_BUG_ON_PAGE(!PageLRU(page), page)
70  __ClearPageLRU(page)
71  del_page_from_lru_list(page, lruvec, page_off_lru - which LRU list was page on? clearing its lru flags.*@page: the page to test* Returns the LRU list a page was on, as an index into the array of LRU* lists; and clears its Unevictable or Active flags, ready for freeing.)
72  spin_unlock_irqrestore( & Write-intensive fields used by page reclaim , flags)
74  __ClearPageWaiters(page)
调用者
名称描述
__put_single_page
__put_compound_page