Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mm_inline.h Create Date:2022-07-28 14:08:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:add_page_to_lru_list

Proto:static __always_inline void add_page_to_lru_list(struct page *page, struct lruvec *lruvec, enum lru_list lru)

Type:void

Parameter:

TypeParameterName
struct page *page
struct lruvec *lruvec
enum lru_listlru
50  update_lru_size(lruvec, lru, page_zonenum(page), hpage_nr_pages(page))
51  list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
Caller
NameDescribe
__activate_page
lru_deactivate_file_fnIf the page can not be invalidated, it is moved to the* inactive list to speed up its reclaim. It is moved to the* head of the list, rather than the tail, to give the flusher* threads some time to write it out, as this is much more
lru_deactivate_fn
lru_lazyfree_fn
__pagevec_lru_add_fn
check_move_unevictable_pagesheck_move_unevictable_pages - check pages for evictability and move to* appropriate zone lru list*@pvec: pagevec with lru pages to check* Checks pages for evictability, if an evictable page is in the unevictable
unlock_page_lru