Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmscan.c Create Date:2022-07-28 14:17:28
Last Modify:2022-05-23 13:41:30 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:is_page_cache_freeable

Proto:static inline int is_page_cache_freeable(struct page *page)

Type:int

Parameter:

TypeParameterName
struct page *page
738  page_cache_pins = If PageHuge() only returns true for hugetlbfs pages, but not for* normal or transparent huge pages.* PageTransHuge() returns true for both transparent huge and* hugetlbfs pages, but not normal pages. PageTransHuge() can only be && PageSwapCache(page) Then HPAGE_PMD_NR Else 1
740  Return page_count(page) - page_has_private - Determine if page has private stuff*@page: The page to be checked* Determine if a page has private stuff, indicating that release routines* should be invoked upon it. == 1 + page_cache_pins
Caller
NameDescribe
pageoutpageout is called by shrink_page_list() for each dirty page.* Calls ->writepage().