函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Add the passed pages to the LRU, then drop the caller's refcount* on them. Reinitialises the caller's pagevec.

函数原型:void __pagevec_lru_add(struct pagevec *pvec)

返回类型:void

参数:

类型参数名称
struct pagevec *pvec
985  pagevec_lru_move_fn(pvec, __pagevec_lru_add_fn, NULL)
调用者
名称描述
__lru_cache_add
lru_add_drain_cpuDrain pages out of the cpu's pagevecs.* Either "cpu" is the current CPU, and preemption has already been* disabled; or "cpu" is being hot-unplugged, and is already dead.
__putback_lru_fastPutback multiple evictable pages to the LRU* Batched putback of evictable pages that bypasses the per-cpu pvec. Some of* the pages might have meanwhile become unevictable but that is OK.