Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lru_cache_add_anon - add a page to the page lists*@page: the page to add

Proto:void lru_cache_add_anon(struct page *page)

Type:void

Parameter:

TypeParameterName
struct page *page
421  If PageActive(page) Then ClearPageActive(page)
423  __lru_cache_add(page)
Caller
NameDescribe
do_swap_pageWe enter with non-exclusive mmap_sem (to exclude vma changes,* but allow concurrent faults), and pte mapped but not yet locked.* We return with pte unmapped and unlocked.* We return with the mmap_sem locked or unlocked in the same cases
__read_swap_cache_async